Horiuchi_H
685b996e7f
Merge pull request #3617 from falsandtru/jquery-extend-branch/indent
...
Fix indent
2015-02-09 15:54:08 +09:00
falsandtru
f99a90aadd
Fix indent
2015-02-07 22:55:07 +09:00
falsandtru
8b97c36adc
Fix jquery type definitions
2015-02-07 19:17:21 +09:00
falsandtru
44cc583343
Fix jquery type definitions
2015-02-07 09:37:11 +09:00
Masahiro Wakame
9bd7fe69d9
Merge pull request #3495 from skeetmtp/master
...
Simplify JQueryPromise overloads thanks to Union types
2015-01-20 19:38:42 +09:00
Alban Lecocq
4e303153ef
Simplify JQueryPromise & JQueryGenericPromise overloads thanks to Union types
2015-01-20 10:51:39 +01:00
John Reilly
56d494cccb
jQuery: Overloads replaced with union types
2015-01-19 17:03:46 +00:00
John Reilly
9f719ecd26
jQuery: Overloads replaced with union types
2015-01-19 16:32:32 +00:00
johnnyreilly
aa19476b1c
jQuery: Started replacing overloads with union types
2015-01-18 07:39:17 +00:00
vvakame
a1ed02f920
fix jquery/jquery-tests.ts compile error
2015-01-16 23:40:20 +09:00
Ilia Choly
9f64372a06
add target property to BaseJQueryEventObject
2014-12-24 10:37:56 -05:00
Hraban Luyat
a7afe03acb
Specify structure $.fn.serializeArray() return val
...
$.fn.serializeArray returns an array of { name: string; value: string; }
elements. This patch declares that type explicitly, instead of Object[].
2014-11-21 17:46:05 +01:00
Igor Oleinikov
d00760ca0f
Fixed jquery promises operators ( fixes #2913 ).
2014-10-08 20:34:15 -07:00
Igor Oleinikov
8fa5f68d40
Added failing test case from #2913
2014-10-08 20:10:38 -07:00
Masahiro Wakame
6dec2f00bd
Merge pull request #2753 from mzsm/fix-jquery
...
JQuery.one can omit `selector`
2014-09-05 18:41:11 +09:00
mzsm
e7c2d0b916
Add overload JQuery.one and jQuery.on
2014-09-05 11:58:03 +09:00
Mohamed Hegazy
2aaa293cb1
Remove quotes from response files
2014-09-02 14:53:39 -07:00
mzsm
6b7657b69d
JQuery.one can omit selector. (like JQuery.on)
2014-09-02 03:54:34 +09:00
Dick van den Brink
62aebaa521
jQuery: Remove JQueryDeferred.state method
...
because it is already defined in JQueryPromise
2014-08-06 11:06:12 +02:00
basarat
e917a9c81e
JQuery originalEvent should be of type Event
...
closes #2545
2014-07-22 21:00:50 +10:00
Tom Hasner
44ace5c660
added second argument "element" to $.filter
2014-07-17 18:04:10 -04:00
Ciel
9d7f8f967d
Updated "then" within interface JQueryXHR
...
Updated "then" within the JQueryXHR interface - details are visible here: https://github.com/borisyankov/DefinitelyTyped/issues/2492
Sorry if this isn't the right way. This is my very first pull request.
2014-07-10 10:52:50 -05:00
Austin Brunkhorst
ddd01efbe9
Fix isImmediatePropagationStopped() typo.
...
isImmediatePropogationStopped -> isImmediatePropagationStopped
2014-07-08 13:48:05 -07:00
Basarat Ali Syed
14b38f5b21
Merge pull request #2400 from Nimrodxx/master
...
Update jquerymobile.d.ts and jquery.d.ts
2014-07-01 23:02:06 +10:00
basarat
593a1d571b
expand the abort jsdoc
2014-06-28 23:08:51 +10:00
John Reilly
7a485a1c6c
Merge pull request #2316 from lijunle/jquery-xhr-doc
...
Add JSDoc for JQueryXHR.abort method.
2014-06-27 18:08:43 +01:00
John Reilly
6f794717c7
Merge pull request #2348 from lijunle/bug-jquery-ajax
...
Write spec and fix for a jQuery.ajax bug
2014-06-27 11:20:10 +01:00
Nimrodxx
ebe628cec1
Update jquery.d.ts
...
Added the state method to the JQueryPromise<T> interface.
2014-06-24 10:27:12 +02:00
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
Junle Li
cd8356008b
Fix a asterisk bug.
2014-06-16 01:42:56 +08:00
Junle Li
3b741930bd
Merge remote-tracking branch 'borisyankov/master' into bug-jquery-ajax
...
Conflicts:
jquery/jquery.d.ts
2014-06-16 01:39:39 +08: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
52678f3b87
Add specs for jqXHR object returned by $.ajax
...
The tests are corresponding to the syntax listed in its website:
http://api.jquery.com/jQuery.ajax/#jqXHR
2014-06-11 01:13:40 +08:00
Junle Li
fc628f15ad
Write defition for JQueryXHR.then method.
...
Working on borisyankov/DefinitelyTyped#2314
2014-06-11 00:54:47 +08:00
Junle Li
96b258dd01
Add JSDoc for JQueryXHR.abort method.
...
Inspired the description from its source code:
d41e81980e/src/ajax.js (L487)
2014-06-11 00:54:21 +08:00
Junle Li
459de60914
Remove tailing space from jquery-test file
2014-06-10 23:33:48 +08:00
Junle Li
a6d7470f12
Add jQuery.ajax test to verify a bug.
...
The definition does not leverage the returned value of $.ajax()
method well. The official syntax is
```
jqXHR.then(function( data, textStatus, jqXHR ) {}, function( jqXHR, textStatus, errorThrown ) {});
```
(From: http://api.jquery.com/jQuery.ajax/ )
2014-06-10 23:30:45 +08: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