127 Commits
Author SHA1 Message Date
Michal Kutil 0d2fb0d17a jQuery: The interface used to specify easing functions add 2013-12-15 23:04:05 +01:00
Stan Thomas e01f25822c TS 0.9.5 support: add definition for rest arguments in jQuery.on() to support optional parameters passed via jQuery.trigger(). 2013-12-10 17:17:15 +00:00
John Reilly 44eb8f38a3 jQuery: added data JSDoc + a little generic love 2013-12-05 17:08:05 +00:00
Masahiro Wakame 2a8d2ec77b Merge pull request #1377 from johnnyreilly/master
jQuery: added when / css JSDoc
2013-12-05 05:50:26 -08:00
Masahiro Wakame 5336b8ffab Merge pull request #1381 from hesselink/master
jQuery: add overload for 'off' accepting a handler but no selector.
2013-12-05 05:46:33 -08:00
John Reilly e630fbd170 jQuery: added array overloads for jQuery transit 2013-12-05 13:19:25 +00:00
Erik Hesselink 51a0c43568 jQuery: add overload for 'off' accepting a handler but no selector. 2013-12-05 14:18:50 +01:00
Natan Vivo 093a37ece8 Since TS 0.9.5, "{ [key: string]: any; }" does not map to literal objects anymore.
Accepting "any" is then required to accept object maps in attrs(). This shouldn't affect 0.9x.
2013-12-05 10:05:28 -02:00
John Reilly 91524d87a7 jQuery: added when / css JSDoc
Also cleaned up CSS overloads and removed unused ones.
2013-12-05 11:13:39 +00:00
Masahiro Wakame 8ef39cf8e4 Merge pull request #1370 from hesselink/jquery-event-specialization
jQuery: split out Event constructor in separate object.
2013-12-03 08:25:31 -08:00
Erik Hesselink 0f8fda7d49 jQuery: split out Event constructor in separate object.
This way, it is possible to specialize constructor for certain strings
to return a specific event type.
2013-12-03 16:01:08 +01:00
John Reilly 0283025a75 jQuery: a few more while I'm at it 2013-12-03 14:35:04 +00:00
John Reilly 0727cb849e jQuery: tabs to spaces 2013-12-03 14:23:09 +00:00
John Reilly a1e6cb6236 jQuery: Added data-less get / getJSON overloads
data on success => any
2013-12-03 14:20:55 +00:00
John Reilly 34f2dd7506 jQuery: Added AJAX JSDoc + tightened up overloads 2013-12-03 14:11:46 +00:00
Basarat Ali Syed 7f90ac8db3 Merge pull request #1367 from hesselink/master
jquery: tabs to spaces.
2013-12-02 15:12:46 -08:00
Erik Hesselink 4626bfbcf0 jquery: tabs to spaces. 2013-12-02 17:20:29 +01:00
John Reilly 2338bbdc80 jQuery: removed comment
as it interfered with intellisense
2013-12-02 15:51:40 +00:00
John Reilly b9b3c2772d jQuery:JSDoc for ajax/ajaxPrefilter/parseHTML+XML 2013-12-02 15:47:49 +00:00
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