Commit Graph

78 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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