falsandtru
1fd63d49c6
jQuery: Add delegate method overload signature
...
Please support 'eventData' parameter.
http://api.jquery.com/delegate/
2014-06-23 14:11:52 +09:00
Bart van der Schoor
3d64ea7395
added missing urls to some authors
...
fixed node urls
2014-06-18 23:31:35 +02:00
John Reilly
8e59eadde1
Merge pull request #2324 from noxhoej/master
...
Add responseJSON attribute to JQueryXHR
2014-06-12 09:25:43 +01:00
Nicholas Oxh
73e8a6b08e
Update jquery.d.ts
...
Make responseJSON optional, since it is only present on jqXHR if the Content-Type of the response is "application/json".
Since responseJSON is an "output" parameter on jqXHR, I don't think it makes any functional difference, if it is marked as optional or not, but logically it probably makes more sense...
2014-06-12 07:06:12 +02:00
Nicholas Oxh
1555e36253
Update jquery-tests.ts
...
Fix spelling...
2014-06-11 16:35:24 +02:00
noxhj
7643a269b2
Add responseJSON attribute to JQueryXHR
2014-06-11 13:01:26 +02:00
Junle Li
d12b83f8d0
Fix jQuery.parseHTML does not recognize document
...
Fix #2307 .
2014-06-09 21:28:09 +08:00
Steven Salat
575a77c921
Added test for parseJSON
2014-05-15 14:23:05 -07:00
Steven
9af5cff974
$.parseJSON should return any instead of Object
...
Here is my test:
```js
var i = JSON.parse('1');
var a = JSON.parse('[1]');
var o = JSON.parse('{"foo":"bar"}');
var s = JSON.parse('"string"');
var n = JSON.parse('null');
i instanceof Object; // false
a instanceof Object; // true
o instanceof Object; // true
s instanceof Object; // false
n instanceof Object; // false
```
JSON.parse returns the `any` type so I think this method should do the same.
More of the discussion regarding this pull request can be found on the original commit 8c23d04a5b
8c23d04a5b
2014-05-14 18:00:49 -07:00
John Reilly
c259dba094
jQuery: Add even more specific val setters
2014-04-29 13:52:47 +01:00
John Reilly
7c8a67a402
jQuery: Add more specific val setters
2014-04-29 13:48:00 +01:00
Joshua Strobl
c5d912aca6
Fixed indentation in jquery.d.ts
2014-04-07 18:48:02 +03:00
Joshua Strobl
f578b03fcf
Added declaration that allows data to be based for on() without needing the optional selector.
2014-04-07 01:46:34 +03:00
John Reilly
1f368c4187
Merge pull request #1916 from DavidRogers/master
...
JQuery: Add support for optional event data.
2014-04-03 20:53:22 +02:00
John Reilly
a4de992641
Merge pull request #1922 from MaceWindu/master
...
Deferred callback parameters fix
2014-04-03 06:25:39 +01:00
Christiaan Rakowski
d89a73caaf
misplace quote
2014-03-31 15:35:47 +02:00
MaceWindu
3f1c041150
Fix typo
2014-03-28 17:32:16 +01:00
MaceWindu
d92f1822bd
fix tests, add additional overrides to deferred methods
2014-03-26 21:03:19 +01:00
MaceWindu
9f9d58db21
Fix callback parameters type for $.Deffered methods
2014-03-26 17:20:55 +01:00
David Rogers
2e2fdad634
Add support for optional event data.
2014-03-25 11:41:14 -07:00
John Reilly
a8890740fc
jQuery: remove unused resolve
2014-03-24 12:59:48 +00:00
Brian Zengel
622cb22a69
First arg of resolve method should be optional.
...
This is because you may want to resolve a deferred without passing anything.
2014-03-21 13:57:19 -04:00
John Reilly
99fa7392f3
jQuery: Promises - made first arg optional
2014-03-19 09:55:21 +00:00
John Reilly
ee580ff303
jQuery: As promised
2014-03-17 15:26:53 +00:00
John Reilly
23c057e243
jQuery: Promises promises
2014-03-17 15:00:39 +00:00
John Reilly
b18a971c9a
jQuery: are we there yet?
2014-03-17 14:39:08 +00:00
John Reilly
f48f188c6c
jQuery: coming on
2014-03-17 14:25:38 +00:00
John Reilly
09e0ce15f4
jQuery: JSDoc get's closer
2014-03-17 14:16:29 +00:00
John Reilly
c5865f9043
jQuery:Lets see if we can be JSDoc complete by v1
2014-03-17 14:08:37 +00:00
John Reilly
3fd61644e2
jQuery: added overload
2014-03-14 17:26:43 +00:00
John Reilly
436d236995
jQuery: closest
2014-03-14 17:20:17 +00:00
John Reilly
002e1bf169
jQuery: Put back in what I accidentally removed
2014-03-14 11:02:11 +00:00
John Reilly
246e0785b8
jQuery: JSDoc completeness within reach
...
well nearly
2014-03-14 10:16:19 +00:00
John Reilly
7a0963cf69
Merge pull request #1835 from johnnyreilly/master
...
jQuery: continuing JSDoc
2014-03-13 15:18:21 +00:00
John Reilly
64f7f2b630
jQuery: expanded text to cover number and boolean
...
following input from @dmethvin
2014-03-13 14:02:36 +00:00
John Reilly
f1cd2ccc32
jQuery: continuing JSDoc
...
Introducing missing test suites / tightening up typings along the way
2014-03-13 10:37:17 +00:00
John Reilly
bd25f3061d
Merge pull request #1830 from johnnyreilly/master
...
jQuery: 1 more step along the world
2014-03-12 13:23:18 +00:00
John Reilly
08fcf45312
jQuery: 1 more step along the world
...
to JSDoc completeness I go...
2014-03-12 13:15:28 +00:00
malaporte
b9873f2071
Added string overloads as well as support for innerWidth and innerHeight.
2014-02-25 17:23:07 +01:00
malaporte
e1b395a7c5
JQuery: Add support for outerWidth and outerHeight used as setters
...
As described in the following blog post, outerWidth and outerHeight can
now be used to set the size of elements.
http://blog.jquery.com/2012/08/16/jquery-1-8-box-sizing-width-csswidth-and-outerwidth/
2014-02-25 16:12:08 +01:00
John Reilly
52275912b5
jQuery: JSDoc for unload, append, after, appendTo
...
Have improved typings where possible (less ...any[])
2014-02-25 09:53:36 +00:00
John Reilly
69f36f7e0b
jQuery: JSDoc'd undelegate
...
added delegate / undelegate test suites
2014-02-24 14:57:10 +00:00
John Reilly
50bc863d8c
jQuery: JSDoc'd unbind
...
and added test suite
2014-02-24 14:49:28 +00:00
John Reilly
b4ce3c8e6e
jQuery: JSDoc'd blur
2014-02-18 16:56:14 +00:00
John Reilly
586de634a8
jQuery: JSDoc'd bind
2014-02-18 16:52:02 +00:00
John Reilly
4c2d50af48
jQuery: uncommented tests
...
realised they could be used as long as param1 and param2 made optional
2014-02-14 16:48:11 +00:00
John Reilly
122ff1fb4c
jQuery: trigger now JSDoc'd and typings
...
brought in line with documentation. Also added test suite.
2014-02-14 16:36:27 +00:00
John Reilly
2bd68070e9
jQuery: added cr to retrigger CI build
2014-02-13 09:14:40 +00:00
John Reilly
5a9a727fa1
jQuery: removed redundant interface
2014-02-12 16:04:30 +00:00
John Reilly
e65a30bcc8
jQuery: removed undocumented properties
2014-01-28 13:57:58 +00:00