Commit Graph
980 Commits
Author SHA1 Message Date
Josh Tynjala 6cf667b5dc EaselJS: MouseEvent should have the EventDispatcher mixins 2013-03-27 17:05:00 -07:00
Diullei Gomes 4563c1694b Merge pull request #429 from rbirkby/MoreD3TransitionMethods
D3 is missing some methods on the Transition interface
2013-03-27 16:48:51 -07:00
Richard Birkby a6975c8496 Add more D3 Transition methods 2013-03-27 23:10:11 +00:00
Diullei Gomes d7a3fbe70d Merge pull request #422 from Diullei/master
jquery: parseHTML(...) added. #421
2013-03-26 06:20:21 -07:00
Diullei Gomes b6e21d422e jquery: parseHTML(...) added. #421 2013-03-26 10:18:02 -03:00
Diullei Gomes 2220dfaf8c Merge pull request #420 from Diullei/master
changed: jquery isPropogationStopped() to isPropagationStopped() #418
2013-03-26 04:52:35 -07:00
Diullei Gomes 8737e06d9e changed: jquery isPropogationStopped() to isPropagationStopped() #418 2013-03-26 08:50:47 -03:00
Diullei Gomes aab5bf50e9 Merge pull request #416 from AndrewGaspar/master
Updated node.js defiintions
2013-03-26 04:40:48 -07:00
Andrew Gaspar 1f852afe5d Moved old node defs to node-0.8.8 and separated tests for each version. 2013-03-25 23:40:36 -05:00
Diullei Gomes 750ccbbecb Merge pull request #417 from richardTowers/sinon-mock
Sinon mock's should return `SinonExpectation`s, not `SinonExpectationStatic`s
2013-03-25 08:44:37 -07:00
Richard Towers 426b27e929 mock expects should return an Expectation, rather than a ExpectationStatic.
http://sinonjs.org/docs/#mocks
2013-03-25 15:05:08 +00:00
Richard Towers 5767d78ced Merge pull request #1 from borisyankov/master
Merging upstream changes
2013-03-25 07:45:24 -07:00
Andrew Gaspar 70fd40a1aa Added default assert definition and a second definition for writeFile. Also added a basic test file. Will be expanded more later. 2013-03-24 22:52:11 -05:00
Diullei Gomes 5b24a28e53 Merge pull request #415 from Diullei/master
Q definitions updated
2013-03-23 18:46:29 -07:00
Diullei Gomes 02a1c43721 Q definitions updated 2013-03-23 22:40:25 -03:00
Diullei Gomes ba308abab2 Q definitions updated 2013-03-23 22:25:33 -03:00
Diullei Gomes 9eacfa2b05 Merge pull request #412 from AndrewGaspar/master
q for CommonJS
2013-03-23 17:17:09 -07:00
Andrew Gaspar c0fb4cc5c3 Renamed q test file. 2013-03-23 19:08:45 -05:00
Andrew Gaspar 105af2df70 Slight change to makeNodeResolver in q.d.ts and added a second declaration for it in jasmine to accomodate 'done' function for async funciton calls. 2013-03-23 16:30:49 -05:00
Andrew Gaspar 8fd794abff Remove qcommon and added q.module.d.ts which declares a module 'q'. Also added a couple jasmine style tests. 2013-03-23 16:22:55 -05:00
Diullei Gomes 031871e964 Merge pull request #413 from qcz/smallfixes2
jQuery and Google Maps fixes
2013-03-23 12:00:52 -07:00
qcz 6351df3010 jQuery: JQuery string indexer return type fix 2013-03-23 15:34:08 +01:00
qcz 869bbb7a2a Google Maps: StreetViewService should be a class 2013-03-23 15:33:24 +01:00
Andrew Gaspar 362cefbcc0 Moved q declaration for CommonJS to qcommon 2013-03-23 03:18:39 -05:00
Andrew Gaspar a94c9ab222 Added type definitions that expose q as a CommonJS module. Under Qnode folder. 2013-03-23 03:13:57 -05:00
Diullei Gomes 6728d292b0 Merge pull request #411 from maroy1986/master
Add missing/change definition in durandal/durandal.d.ts
2013-03-22 13:27:03 -07:00
Marc-Andre Roy 10890574d3 Add backgroundpositionClass to definition
Add backgroundpositionClass to ToastrOptions interface
2013-03-22 16:18:55 -04:00
Marc-Andre Roy 469b9a8bc5 Update definition file for durandal.d.ts
- Make applicationHost parameter optional in setRoot
- Add missing activeRoute definition
- Add missing useConvention definition
- Add missing handleInvalidRoute definition
- Change mapRoute definition so you can pass an URL with all the other
parameters as you will usealy do or you pass a RouteInfo object without
having to give it any other parameter. moduleId, name and visible are
now optional.
2013-03-22 11:18:26 -04:00
Diullei Gomes f902be86ab Merge pull request #410 from jwcarroll/master
Updated IDeferred.reject per Angular docs
2013-03-21 09:11:15 -07:00
Josh Carroll c983f12458 Changed reject to be 'any' per angular docs 2013-03-21 12:01:28 -04:00
Boris Yankov 91b97bfa9c Merge pull request #407 from anchann/master
AngularJS: fixed typing of the ng.IPromise.then function
2013-03-19 20:35:45 -07:00
Anton Zolotkov 26d0c8a757 AngularJS: fixed typing of the ng.IPromise.then function
The type definition for ng.IPromise.then was, in my opinion, incorrect
semantically, and breaking on practical examples in my codebase.

An `IPromise`' `then` function takes a callback which is called with the
value of the promise once it's fulfilled. This could be a number, a
string, some object, an array of strings, anything really. Yet the
typing in angular.d.ts specified `then` as taking a `successCallback` of
type `(response: PromiseCallbackArg) => any`.

The definition of `PromiseCallbackArg` seems very permissive at first
glance, as it is defined to be an object with a bunch of fields, all
optional. Any object, a number, and a string all type check correctly
with such a type, but an array of strings, for example, does not
(`cPromise` in the provided list of test).

Furthermore, it seems to me that the `PromiseCallbackArg` definition was
added specifically to support the response type for promises returned by
the Angular `$http` service, the `ng.IHttpPromise`.

So instead of having an incorrect type on the `ng.IPromise.then` function,
I propose we return it to its generic form, and instead override the
type of the inherited `then` function in the `ng.IHttpPromise` interface.
This would also warrant renaming `PromiseCallbackArg` to
`IHttpPromiseCallbackArg`.
2013-03-20 11:48:15 +09:00
Diullei Gomes 093fb5da49 Merge pull request #405 from sumegizoltan/master
Definition of bgiframe for IE6 - simple plugin implementation without jQuery.
2013-03-19 07:43:23 -07:00
sumegizoltan a26438737f Definition of bgiframe for IE6 - simple plugin implementation without jQuery. 2013-03-19 15:38:20 +01:00
Diullei Gomes 8ae05f4988 Merge pull request #404 from sumegizoltan/master
jquery.elang definition
2013-03-19 07:38:02 -07:00
sumegizoltan 0ebf1631ec Definition for jquery.eLang - Language Learning application. 2013-03-19 15:31:23 +01:00
Diullei Gomes a8b77d4998 Merge pull request #402 from Steve-Fenton/patch-3
Removal of logChange method and explanation
2013-03-16 07:22:05 -07:00
Steve Fenton b7008627b5 Removal of logChange method and explanation
logChange is an example of an extension, not part of the standard library. To add extensions, simply extend the interface outside of the definition file:

interface KnockoutExtenders {
    logChange(target: KnockoutObservableAny, option: string): KnockoutObservableAny;
}
2013-03-16 09:31:04 +00:00
Boris Yankov 96814e5e60 Merge pull request #401 from niemyjski/master
Added definitions for trunk8
2013-03-15 14:20:58 -07:00
Blake Niemyjski 4e202e0409 updated the trunk8 def. 2013-03-15 13:39:21 -05:00
Blake Niemyjski fe5645d69a Added typescript definitions for trunk8 2013-03-15 13:35:00 -05:00
Diullei Gomes 4817a46bb8 Merge pull request #399 from jlerasmus/master
Added EntityManager.hasChangesChanged event
2013-03-14 04:44:45 -07:00
Jaco Erasmus b04dcfa3d8 Update breeze-tests.ts
Changed hasChanges event to hasChangesChanged as it was renamed in v1.1.0
2013-03-14 11:34:28 +02:00
Jaco Erasmus 86e4a94090 Added EntityManager.hasChangesChanged event
EntityManager.hasChanges event was renamed to EntityManager.hasChangesChanged in v1.1.0
2013-03-14 11:26:43 +02:00
Diullei Gomes fadf0760ce Merge pull request #388 from MagicMau/master
Updated Underscore.js and added underscore-ko.js
2013-03-13 04:53:30 -07:00
Diullei Gomes 8f46f9a2ee Merge pull request #394 from Diullei/master
bug fix 'knockout->KnockoutExtenders'
2013-03-12 05:22:53 -07:00
Diullei Gomes 0d7d1aea3c bug fix 'knockout->KnockoutExtenders' 2013-03-12 09:20:50 -03:00
Diullei Gomes c23ae2a1d6 Merge pull request #393 from Steve-Fenton/patch-2
Added logChange to extenders.
2013-03-12 05:15:13 -07:00
Steve Fenton 0016ecf978 Added logChange to extenders.
Added logChange to extenders.

http://knockoutjs.com/documentation/extenders.html
2013-03-12 12:06:36 +00:00
Diullei Gomes 188311ebef Merge pull request #390 from Steve-Fenton/patch-1
Add createEntity method to EntityManager
2013-03-11 09:57:38 -07:00