johnnyreilly
609712265e
jQuery: brought val into line with documentation
...
Plus added val test suite
2013-12-29 21:42:55 +00:00
johnnyreilly
3f51b9c7b2
jQuery: removeProp
2013-12-29 21:29:55 +00:00
johnnyreilly
9f7b30fce9
jQuery: JSDoc'd prop
2013-12-29 21:27:56 +00:00
johnnyreilly
ff54b34c0f
jQuery: cover off the ajax handlers
2013-12-28 20:56:06 +00:00
johnnyreilly
3b581e0152
jQuery: now with valid ajaxComplete test
...
Also with corrected jquerymobile attr test
2013-12-26 21:15:05 +00:00
johnnyreilly
427d2e0576
jQuery: Fix to typings
2013-12-25 19:07:30 +00:00
johnnyreilly
3416f6e88a
jQuery: ajaxComplete
2013-12-24 11:48:46 +00:00
johnnyreilly
ac4275f168
jQuery: load JSDoc
2013-12-24 11:39:34 +00:00
johnnyreilly
3649e3320b
jQuery: attr JSDoc
2013-12-24 11:31:23 +00:00
johnnyreilly
97787b7e3e
jQuery: toggleClass / removeClass
2013-12-24 11:20:42 +00:00
johnnyreilly
db67a18e04
jQuery: Add serialize / serializeArray JSDoc
2013-12-24 11:06:23 +00:00
johnnyreilly
ae18b73452
jQuery: Added addClass JSDoc
2013-12-24 10:59:23 +00:00
Igor Oleinikov
3668128825
jquery: fixed definition for bind (fixes hammerjs test)
2013-12-19 15:40:27 +04:00
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
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