Commit Graph
28 Commits
Author SHA1 Message Date
Junle 7d85fd5e1c Write my name on CONTRIBUTORS.md :) 2014-06-19 14:04:13 +08:00
Junle 1eff13e607 Update definition file header. 2014-06-18 16:56:57 +08:00
Junle 5e08d655f1 Add definition and test for $.support.pjax property. 2014-06-18 16:46:16 +08:00
Junle 0040e5a97e Add definition and test for $.pjax.defaults property. 2014-06-18 16:43:24 +08:00
Junle 0af5dfd73b Add definition and test for $.pjax.reload method. 2014-06-18 16:40:00 +08:00
Junle 1912ed0334 Add definition for $.pjax.enable and $.pjax.disable. 2014-06-18 16:37:18 +08:00
Junle 2b42566cca Add definition and test for $.pjax function. 2014-06-18 16:31:28 +08:00
Junle 37d2280a3d Add definition and test for $.pjax.submit function.
It is nearly same with $.pjax.click function.
2014-06-18 16:16:01 +08:00
Junle 0e5cb0478f Add definition and test for $.pjax.click function. 2014-06-18 16:12:59 +08:00
Junle 6da3e2f575 Refine the definition of $.fn.pjax method. 2014-06-18 16:12:26 +08:00
Junle 019525512b Format the test file. 2014-06-16 02:09:24 +08:00
Junle baca62733a Add PjaxSettings extending from JQueryAjaxSettings. 2014-06-16 02:00:21 +08:00
Junle 3487faa4ea Fix the asterisk bug and a trivial bug. 2014-06-16 01:56:47 +08:00
Junle Li 1366742ab4 Add definition and test for jquery.fn.pjax method. 2014-06-16 01:46:27 +08:00
Junle Li b5ad8ed044 Add empty jquery.pjax definition and test file. 2014-06-16 01:46:20 +08: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
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:
https://github.com/jquery/jquery/blob/d41e81980ea89e56c04eb14d8c27f4692b367604/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
Junle Li 276f88c4d5 Add new line at the end of the test file. 2014-05-13 00:28:05 +08:00
Junle Li 56f52b48ec Add some small tests for jQuery postMessage definition file. 2014-05-13 00:18:29 +08:00
Junle Li 9540e2de00 Use standard header template in definition file. 2014-05-13 00:05:07 +08:00
Junle Li a2302c15fa Add new line at end of the file. 2014-05-09 02:07:34 +08:00
Junle Li cc3ed31860 Add jQuery postMessage Typescript definition file. 2014-05-09 02:05:28 +08:00