Commit Graph

94 Commits

Author SHA1 Message Date
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
basarat
de9c457a11 Update jquery.d.ts
parseJSON should return any. If it returns Object the properties cannot be accessed without typecasting.
2013-05-16 11:56:04 +07:00
Kelly Summerlin
0c7a21c753 jQuery.Event() is newable
- I made jQuery.Event() new-able and call-able.
2013-05-02 21:00:45 -04:00
hrj
690897ce5a Declare JQuery.html(JQuery) 2013-04-16 15:01:37 +05:30
Diullei Gomes
b8f2a0df2c resolved conflicts to pullrequest #387 2013-03-31 12:13:16 -03:00
Diullei Gomes
b6e21d422e jquery: parseHTML(...) added. #421 2013-03-26 10:18:02 -03:00
Diullei Gomes
8737e06d9e changed: jquery isPropogationStopped() to isPropagationStopped() #418 2013-03-26 08:50:47 -03:00
qcz
6351df3010 jQuery: JQuery string indexer return type fix 2013-03-23 15:34:08 +01:00
Guus Goossens
62bc3e0772 Add JQueryPopStateEventObject for popstate events.
I think this is the right way to do this. Let me know if not!
2013-02-25 16:36:04 +01:00
Diullei Gomes
c4f8c5c60d updated jquery-tests.d.ts to fix test 2013-02-24 02:51:37 -03:00
Diullei Gomes
9e7a34c3c3 updated jquery.d.ts to fix jquery.bbq test 2013-02-24 02:41:12 -03:00
Diullei Gomes
edb4df1e4f jquery addBack() method added #316 2013-02-22 12:43:53 -03:00
Guus Goossens
e536754376 jqXhr.abort() has an optional parameter. 2013-02-21 15:49:15 +01:00
Sean Hill
987e000332 Add definition for selector property. 2013-02-15 13:09:07 -06:00
Jason Swearingen
8774102c60 Merge remote-tracking branch 'upstream/master'
Conflicts:
	jquery/jquery.d.ts
2013-02-15 09:21:12 +07:00