108 Commits
Author SHA1 Message Date
John Reilly dea94f20ec jQuery: Added missing tests 2013-12-02 09:53:43 +00:00
John Reilly 3ddc915442 jQuery: More JSDoc comments / missing overloads 2013-12-02 09:48:28 +00:00
John Reilly 585aeb8341 jQuery: Added one / ready JSDoc 2013-11-29 13:57:27 +00:00
John Reilly b7b78af91b jQuery: off and on tidied up, tighted up + JSDoc 2013-11-29 13:43:38 +00:00
John Reilly 37724f4237 jQuery: all mouse events now have JSDoc 2013-11-29 13:28:05 +00:00
John Reilly 076bbb280c jQuery: Added mousedown JSDoc/remove mouseevent
mouseevent does not exist
2013-11-29 13:18:27 +00:00
John Reilly 61b3118cfe jQuery: Added hover / load event handler JSDoc 2013-11-29 13:13:46 +00:00
John Reilly fce6226f37 jQuery: added missing overloads with tests 2013-11-29 11:02:42 +00:00
John Reilly eed0725e82 jQuery: Added change test 2013-11-29 10:37:50 +00:00
John Reilly 2496728011 jQuery: Added contributors to header, add change 2013-11-29 10:37:35 +00:00
John Reilly 276a7ae988 jQuery: Added a few more JSDocs 2013-11-28 14:14:38 +00:00
John Reilly d46931fa49 jQuery: Added click / dblclick JSDocs 2013-11-28 14:07:22 +00:00
John Reilly 14ee463201 jQuery: Added JSDoc for intellisense
Started turning the jQuery API documentation into JSDoc comments to
drive intellisense.
2013-11-28 13:59:47 +00:00
John Reilly 8ad67c39fe jQuery: change overload order (prep for TS 0.9.5)
Related to https://github.com/borisyankov/DefinitelyTyped/issues/1311
#1311
2013-11-27 10:22:53 +00:00
Basarat Ali Syed 4fde2ac723 jquery.d.ts closes #1311 2013-11-22 14:12:21 +11:00
John Reilly c906bd8ffb Fixed misleading test
It didn't look quite right and when I debugged it in jQuery sure enough
it took 2 parameters rather than 1 (both values passed on)
2013-11-19 14:55:29 +00:00
John Reilly 0e106b6d30 jQuery: Added JQueryDeferred Generic callbacks 2013-11-19 13:12:39 +00:00
John Reilly a9752fc8fd jQuery:Added generic always/done/fail/progress 2013-11-19 11:39:58 +00:00
Derek Cicerone 392b8a5a08 Add missing on() handler
This was was exposed by a recent update to jquery that tightened up the
typing for on().

Documentation for on(): http://api.jquery.com/on/
2013-10-27 17:17:13 -04:00
Josh Strobl 710e85d0d9 jQuery: Modified some functions variable types
Updated the jQuery definitions file, modifying removeAttr, removeClass,
removeProp, toggleClass and on functions to appropriately use string
rather than any, which aligns it with the jQuery API docs.
2013-10-21 06:08:24 -07:00
vvakame 34899afaae Merge commit '2772dfeec9cdb1744f6c010babef9e40b6770dd7' into plan-of-destroy-implicitAny 2013-10-18 12:41:53 +09:00
Derek Cicerone d3124df1d4 Fix jquery.d.ts break with TypeScript 'develop' branch
The beta compiler is smarter about detecting inconsistencies:
jquery.d.ts(192,11): error TS2189: Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryInputEventObject':
Types of property 'metaKey' of types 'BaseJQueryEventObject' and 'JQueryInputEventObject' are not identical.

Documentation seems to indicate 'boolean' is correct: http://api.jquery.com/event.metaKey/
2013-10-11 20:23:28 -04:00
vvakame 2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame 3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Maxime LUCE d680b609a0 Append prevUntil and nextUntil override accepting JQuery for first arguments 2013-09-06 19:30:52 +02:00
Poul Kjeldager Sørensen 2e403eefa0 Added jquery External Module definition for amd module 2013-09-01 22:14:52 +02:00
Boris Yankov 5193f74024 Merge pull request #860 from YusukeHirao/master
A function support for 'jQuery.Animation'
2013-08-26 15:04:31 -07:00
Diullei Gomes 25961cbecd Merge pull request #911 from basarat/patch-5
All generic parameter must be provided in latest typescript release
2013-08-24 20:34:14 -07:00
Boris Yankov da107056f5 Merge pull request #915 from MaceWindu/master
missing parentsUntil signature
2013-08-24 12:53:54 -07:00
gstamac c662aa0fbb jQuery: fixed a failing test 2013-08-23 12:08:00 +02:00
MaceWindu 1e91c42d12 Update jquery.d.ts
missing parentsUntil signature
2013-08-23 02:27:37 +03:00
basarat 49d1f54446 All generic parameter must be provided in latest typescript release
http://stackoverflow.com/a/18381029/390330
2013-08-22 22:56:31 +10:00
oadam 2faf4ef12c Fixed issue when using $.extend to merge defaultOptions and options 2013-08-21 15:39:22 +02:00
Ben Jackman ba5e845577 jquery: fixed implicit any errors.
Signed-off-by: Ben Jackman <ben@jackman.biz>
2013-08-16 00:40:20 -05:00
YusukeHirao 331e1f7b4c A function support for 'jQuery.Animation'
'jQuery.Animation' is a function that has been added from version 1.8.
2013-08-14 19:47:54 +09:00
Boris Yankov dd35f69637 Big replacement: bool with boolean 2013-08-07 16:59:39 +03:00
seikichi d335c0339b Fix the argument type of JQuery.html 2013-08-03 23:53:48 +09:00
James Fisher 86e45eece5 jQuery (inner|outer)(Width|Height) are setters as well as getters
This undocumented behavior is described in an open issue:

    https://github.com/jquery/api.jquery.com/issues/98
2013-07-17 23:18:08 +01:00
Diullei Gomes 106cf5e16f bug fix - #742 JQueryAjaxSettings does not allow contentType set to false 2013-07-12 00:29:42 -03:00
Andrew Gaspar f00c0421cf Added typings for when that afford promise type objects being passed in and mixes of different types. 2013-07-07 18:35:12 -07:00
Andrew Gaspar e1cfc4aa71 Made $.when work with mixed type values without specifiying <any> 2013-07-07 18:05:42 -07:00
Andrew Gaspar 7e7fca5c55 Added generic typing to jQuery.when 2013-07-06 21:31:02 -07:00
Andrew Gaspar 284f4a629a Minor fixes for issue #726 2013-07-05 01:06:47 -07:00
Andrew Gaspar 85eabfe63b Added typings to jQuery promises and deferreds. 2013-07-03 01:36:17 -07:00
Derek Cicerone cb2af0bfae Replace bool with boolean (for TypeScript 0.9.0+) 2013-06-29 17:29:14 -04:00
Diullei Gomes d3ed16fbab #670 jquery.d.ts a parameter needs to be optional on JQueryPromise.then 2013-06-21 15:03:23 -03:00
Diullei Gomes 718e500bef Merge pull request #622 from nwolverson/jquery-generic-statics
Initial generic types for jquery statics
2013-06-19 10:59:13 -07:00
Nicholas Wolverson 82ea2c0070 Initial generic types for jquery statics 2013-06-19 12:28:31 +01:00
Nicholas Wolverson c0d7f57c8c Add promise to JQueryDeferred
Add promise method returning JQueryPromise from JQueryDeferred:
http://api.jquery.com/deferred.promise/
2013-06-19 11:16:47 +01:00
Boris Yankov dda169b930 Improve jQuery definitions, make compatible with TS 0.9 2013-06-19 04:55:52 +03:00