Commit Graph

998 Commits

Author SHA1 Message Date
Diullei Gomes
6ba19f5d15 Merge pull request #435 from csrakowski/master
added jquery.tinyscrollbar definition
2013-03-31 08:29:25 -07:00
Christiaan Rakowski
08438c1722 Updated definitions, and added tests 2013-03-31 17:22:09 +02:00
Diullei Gomes
d2cee47caf Merge pull request #445 from Diullei/master
resolved conflicts to pullrequest #387
2013-03-31 08:16:31 -07:00
Diullei Gomes
b8f2a0df2c resolved conflicts to pullrequest #387 2013-03-31 12:13:16 -03:00
Diullei Gomes
3a50298a0f Merge pull request #438 from arash16/patch-1
Update durandal.d.ts --> router.mapNav's second and third parameters must be optional
2013-03-29 08:10:53 -07:00
Diullei Gomes
3a666f1ff5 Merge pull request #441 from Diullei/master
breeze updated - 1.2.7
2013-03-29 07:48:57 -07:00
Diullei Gomes
e2567c2be0 breeze updated - 1.2.7 2013-03-29 11:36:15 -03:00
Diullei Gomes
1dd3b50fda Merge pull request #440 from Diullei/master
commit breeze reverted. I need to solve some bugs
2013-03-29 07:29:34 -07:00
Diullei Gomes
9a070cd186 commit breeze reverted. I need to solve some bugs 2013-03-29 11:27:48 -03:00
Diullei Gomes
ec32cb2fa7 Merge pull request #431 from johnlantz/patch-4
Rename breeze-tests.ts to breeze-tests-1.0.ts
2013-03-29 07:13:55 -07:00
Diullei Gomes
0de74f9d17 Merge pull request #430 from johnlantz/patch-3
Rename breeze.d.ts to breeze-1.0.d.ts
2013-03-29 07:13:45 -07:00
arash16
1d2dbf3d7d Update durandal.d.ts
mapNav's second and third parameters must be optional..
2013-03-29 12:08:33 +04:30
Diullei Gomes
b7ce0fbb83 Merge pull request #436 from dmorosinotto/master
Typescript definition to use Azure Mobile Services Client HTML/JS
2013-03-28 10:49:28 -07:00
Daniele Morosinotto
7410206409 Azure Mobile Services Typescript descrition
Typescript definition to use Azure Mobile Services Client HTML/JS
library
You need an Azure subcription (even 3-month trial) to get valid
applicationUrl and applicationKey to use the library
2013-03-28 17:29:01 +01:00
Christiaan Rakowski
3d3266a0dc Added jquery tinyscrollbar (inititial version) 2013-03-28 12:02:06 +01:00
Diullei Gomes
2178cda217 Merge pull request #434 from joshtynjala/createjs
EaselJS: MouseEvent should have the EventDispatcher mixins
2013-03-27 20:33:33 -07:00
Josh Tynjala
6cf667b5dc EaselJS: MouseEvent should have the EventDispatcher mixins 2013-03-27 17:05:00 -07:00
John Lantz
e0c46de382 Rename breeze-tests.ts to breeze-tests-1.0.ts
Updating per contribution guide.
2013-03-27 16:54:52 -07:00
John Lantz
860344d5e4 Rename breeze.d.ts to breeze-1.0.d.ts 2013-03-27 16:49:04 -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