Commit Graph
14170 Commits
Author SHA1 Message Date
Boris Yankov e18e61c589 Merge pull request #155 from DerAlbertCom/master
Added a missing definition of on() for jquery
2013-01-02 16:37:17 -08:00
Boris Yankov 3cdf9a3eb4 Merge pull request #153 from hansrwindhoff/master
symbol definitions
2013-01-02 16:37:07 -08:00
Albert Weinert 2df22652c9 added a missing description for on() 2013-01-02 23:20:47 +01:00
unknown 68e515378a Update header 2013-01-02 11:37:09 -08:00
unknown fd19d4d063 New definitions for PouchDB (http://www.pouchdb.com) 2013-01-02 11:34:05 -08:00
hansrwindhoff 0f0565123e Update d3/d3-2.10.d.ts
some more behavior and symbol definitions
2013-01-02 10:43:23 -07:00
Boris Yankov 74e0bfa56a Merge pull request #150 from hansrwindhoff/master
behavior definitions
2013-01-01 23:44:53 -08:00
hansrwindhoff 76cb25013d Update d3/d3-2.10.d.ts
Adding some definitions for behavoir
2013-01-01 17:40:09 -07:00
Boris Yankov ad37178bf5 Merge pull request #149 from anwarjaved/patch-1
Update knockout.mapping/knockout.mapping-2.0.d.ts
2013-01-01 14:23:00 -08:00
Anwar Javed c47690729e Update knockout.mapping/knockout.mapping-2.0.d.ts
Specify Optional Parameters
2013-01-01 15:56:38 +05:30
Boris Yankov 9e621707ac Fix typo in Raphael definitions. RraphaelSet to RaphaelSet 2012-12-31 08:37:22 +02:00
Boris Yankov 08fb951ef5 Merge pull request #144 from JudahGabriel/master
Added knockout.postbox
2012-12-30 22:31:43 -08:00
Boris Yankov e7dcb8fca5 Merge pull request #145 from matthewkimber/master
Chrome Extension Ambient Type Declarations Update
2012-12-30 21:14:55 -08:00
Boris Yankov 29320db2b9 Merge pull request #142 from oklemencic/master
FabricJS type definitions
2012-12-30 21:14:28 -08:00
Boris Yankov 66455505f6 Update Platform file name and readme 2012-12-31 04:42:08 +02:00
Boris Yankov 84ad7cc1a3 Merge pull request #148 from JakeH/master
Adding definitions for Platform 1.0.0
2012-12-30 18:34:12 -08:00
Boris Yankov 916738cef9 Merge pull request #147 from david-driscoll/master
Updated RequireJS definition to support error callbacks
2012-12-30 18:32:42 -08:00
Boris Yankov f932ab486d Update jQuery.ajaxSetup() definition 2012-12-31 04:31:49 +02:00
Boris Yankov 470c5feec2 Merge pull request #146 from k00ni/patch-1
Set options in ajaxSetup(options: any) optional, to allow use it as a get function
2012-12-30 18:02:09 -08:00
Boris Yankov 1484e18399 Update bootstrap definitions to 2.2 2012-12-31 04:00:17 +02:00
Jacob Hickman ca10be18da Adding definitions for Platform 1.0.0 2012-12-31 10:36:44 +09:00
David Driscoll 667699abc2 Updated RequireJS def to handle error callbacks
Updated RequireJS definition to support error callbacks.
In addition it exposes a RequireError interface, with the potential values of the param passed to the error callback.
Also added overload for require(module : string), so that require can potentially be used inline mod.
2012-12-30 12:32:12 -07:00
Konrad Abicht 1d54aaefe3 Update jquery/jquery-1.8.d.ts 2012-12-30 11:16:59 +01:00
Oliver Klemencic 2101c7bc3d Adapted to latest fabric.js changes (dynamic_origin support) 2012-12-29 12:11:00 -08:00
Matthew Kimber 88c34d21ad Changed the arrow functions that were erroneously returning anonymous objects to return void instead. Also updated the gitignore to include macintosh specific meta files. 2012-12-28 18:14:59 -07:00
Judah Gabriel Himango 678665f98f Added default comparer to KnockoutPostBox 2012-12-28 10:20:23 -06:00
Judah Gabriel Himango c6ba5a2416 Added knockout.postbox 2012-12-28 10:05:58 -06:00
Oliver Klemencic 15b588db28 Added fabric.js type definitions 2012-12-27 14:02:56 +01:00
Boris Yankov 9b6699d118 Update bootstrap to 2.2 2012-12-27 05:32:01 +02:00
Boris Yankov d57605344b Update readme 2012-12-27 04:42:14 +02:00
Boris Yankov 4d480212b7 Merge pull request #141 from danludwig/danludwig/work
Add definition file for knockout.validation plugin.
2012-12-26 18:07:53 -08:00
Boris Yankov a48917fc8f Merge pull request #140 from damianog/master
Update Globalize months property
2012-12-26 17:59:17 -08:00
Dan Ludwig 9203b0f50c Add definition file for knockout.validation plugin. 2012-12-26 09:29:02 -05:00
Damiano f039c13972 Globalize - Added GlobalizeMonths interface
Added GlobalizeMonths interface to detail months property by replacing
the 'any[]' declaration.
2012-12-26 09:53:25 +01:00
Damiano 895abe5d8a Merge remote-tracking branch 'upstream/master' 2012-12-26 09:30:01 +01:00
John Papa b920d8a7f1 updated tests 2012-12-26 09:28:23 +01:00
John Papa 3b84ce931f updated for v1.2 2012-12-26 09:28:22 +01:00
Boris Yankov 437c54741f Fix underscore map method 2012-12-26 09:28:22 +01:00
Boris Yankov c76905da74 Add hammer.js 2012-12-26 09:28:21 +01:00
Karlkim Suwanmongkol e7e464a3a9 Fix [key: any] issue in raphael-2.1.d.ts
This is similar to old jquery definition issue mentioned in
http://stackoverflow.com/questions/13630578/why-does-the-jquery-d-ts-typescript-definition-file-throw-a-compile-error

We should update Raphael definition as well.
2012-12-26 09:28:20 +01:00
Dan Ludwig f002d391cd Update jQuery UI DialogOptions.width property type from number to any.
Example usage: $('#el').dialog({width: 'auto'});
2012-12-26 09:28:20 +01:00
James Manning c40d648bd1 Need to 'declare' the Spinner class
In TypeScript 0.8.1.1, a 'declare' is needed in front of the 'class Spinner', since without it the compiler attempts to compile it as an actual class definition, and fails with:

Message: Overload declaration lacks definition
Line number: 27
Column number: 5
Source error: 
Line 26: class Spinner {
Line 27:     constructor (options?: SpinnerOptions);
-------------^
Line 28:     spin(target?: any);

The test in the typescript codebase that confirms this is intentional behavior is in tests/compiler/class.ts

http://typescript.codeplex.com/SourceControl/changeset/view/2bee84410e02#tests/compiler/class.ts

****
describe('Testing function signatures inside classes', function () {
   it('Regression test - was previously giving runtime error', function () {
       var code = "class A { a(completed: () => any): void; }";
       Harness.Compiler.compileString(code, 'fnsig-inside-classes', function (result) {
           assert.compilerWarning(result, 1, 10, 'Overload declaration lacks definition');
           assert.equal(result.errors.length, 1);
       });
   });
});
****

The compiler code that implements the check is in src/compiler/signatures.ts

http://typescript.codeplex.com/SourceControl/changeset/view/2bee84410e02#src/compiler/signatures.ts

****
if (!hasConstruct && !this.definitionSignature && this.signatures[i].declAST && this.signatures[i].declAST.isOverload && !hasFlag(this.signatures[i].declAST.fncFlags, FncFlags.Ambient)) {
    checker.errorReporter.simpleError(this.signatures[i].declAST, "Overload declaration lacks definition");
}
****

By adding the 'declare', we tell the TypeScript compiler that this is just intending to expose the API of the class, not the actual implementation.
2012-12-26 09:28:19 +01:00
John Vrbanac 675a94fde3 Adding MIT license 2012-12-26 09:28:18 +01:00
Boris Yankov cce2c80831 Add modules to breeze.js definitions 2012-12-26 09:28:18 +01:00
BreeeZe e26a40dabf Added missing method 'replace' to KnockoutObservableArrayFunctions 2012-12-26 09:28:17 +01:00
BreeeZe 185e737528 Added 'ieVersion' , 'isIe6' and 'isIe7' to Knockout utils definition. 2012-12-26 09:28:16 +01:00
Daz Wilkin 318db9c30a YouTube API: added exports 2012-12-26 09:28:16 +01:00
Daz Wilkin a14eca6d9d Vimeo Froogaloop API 2012-12-26 09:28:15 +01:00
Emil Ivanov 2926808284 Added comment headers and version 2012-12-26 09:28:14 +01:00
Emil Ivanov 96fa1a3f54 Added SockJS definition
See https://github.com/sockjs/sockjs-client

Created manually by inspecting the various parameters
and return values.

There are seperate events, since, although SockJS
exposes a Websocket-like interface, it's not 100% same.
2012-12-26 09:28:14 +01:00