Commit Graph

99 Commits

Author SHA1 Message Date
John Kurlak
dca2d4df79 Add method property to ajaxSettings 2015-07-10 09:48:49 -07:00
Robert Dennis
dd393c9e0f Add tests for jQuery failsafe syntax 2015-04-23 10:12:44 -04:00
falsandtru
bb9b1b0761 Improve test codes 2015-03-07 16:10:07 +09:00
falsandtru
817bbaddc0 Fix trap suggestion 2015-03-07 15:42:38 +09:00
vvakame
a1ed02f920 fix jquery/jquery-tests.ts compile error 2015-01-16 23:40:20 +09: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
basarat
e917a9c81e JQuery originalEvent should be of type Event
closes #2545
2014-07-22 21:00:50 +10:00
basarat
593a1d571b expand the abort jsdoc 2014-06-28 23:08:51 +10: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
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
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
MaceWindu
d92f1822bd fix tests, add additional overrides to deferred methods 2014-03-26 21:03:19 +01:00
John Reilly
99fa7392f3 jQuery: Promises - made first arg optional 2014-03-19 09:55:21 +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
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
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
e65a30bcc8 jQuery: removed undocumented properties 2014-01-28 13:57:58 +00:00
johnnyreilly
bf7966cf68 jQuery: all the is's 2014-01-26 15:55:14 +00:00
John Reilly
0d8bdec36e jQuery: JSDoc Callbacks and tighten up typing 2014-01-21 13:38:58 +00:00
John Reilly
daca31dc77 jQuery: added typing for fn 2014-01-17 09:27:10 +00:00
John Reilly
02348d3eb0 jQuery: added proxy / removeData JSDoc + tests 2014-01-16 14:00:56 +00:00
John Reilly
07041a3088 jQuery: queue, dequeue, hasdata
added queue test suite
2014-01-16 13:38:16 +00:00
John Reilly
3f692cc3b6 jQuery: added param JSDoc and test suite 2014-01-16 13:23:16 +00:00
John Reilly
3a45c9d8be jQuery: Add jQuery/$ JSDoc
And test suite
2014-01-15 13:26:08 +00:00
John Reilly
d6e9ed4b0d jQuery: Finished JSDoc-ing animations
Added missing test suites where necessary.
2014-01-13 13:37:47 +00:00
John Reilly
0931add1c3 jQuery: promise JSDoc'd
and added test suite
2014-01-10 13:55:55 +00:00
John Reilly
9d4f888a30 jQuery: data JSDoc
and removeData test suite
2014-01-10 13:51:27 +00:00
John Reilly
c733d25651 jQuery: scrollLeft /scrollTop test suites 2014-01-10 13:38:25 +00:00
John Reilly
40adcdd3ad jQuery: offsetWidth, offsetHeight, position JSDoc
removed invalid overloads, added JSDoc, changed position to use
JQueryCoordinates.  Added position test suite.
2014-01-09 13:35:13 +00:00