- 18 Jan, 2011 3 commits
-
-
https://github.com/rwldrn/jqueryjeresig authored
-
jeresig authored
-
jaubourg authored
-
- 17 Jan, 2011 2 commits
-
-
jaubourg authored
Put the split to get the list of promise methods out of the promise method itself and also switched from jQuery.each to a while loop to remove as much overhead as possible. Thanks go to scott_gonzalez for reminding me of this.
-
jaubourg authored
Implements joined jQuery.when statements. Makes it so calling jQuery.when with no parameter returns a resolved promise. Ensures promise method on promises supports the promise(obj) signature. Ensures a deferred and its promise always return the same promise (itself for the promise). Unit tests provided.
-
- 16 Jan, 2011 7 commits
-
-
jaubourg authored
Fixed the ajax test regarding the jsonp option set to false and added a test to control the prefilter actually does not tamper with the url.
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Removed internal dataTypes option and added headers & crossDomain options into commented out options of ajaxSettings.
-
jaubourg authored
Fixes #2994. Not finding a transport now fires the error callbacks and doesn't make ajax return false. Had to revise how jsonp and script prefilters & transports work (better separation of concerns). Also took the opportunity to revise jXHR getRequestHeader and abort methods and enabled early transport garbage collection when the request completes.
-
- 15 Jan, 2011 8 commits
- 14 Jan, 2011 5 commits
-
-
wycats authored
-
Jared Grippe authored
-
Scott González authored
Avoid running jQuery.unique() for methods that are guaranteed to produce a unique result set. Fixes #7964 - Some traversal methods perform an unnecessary uniqueness check.
-
jaubourg authored
Moved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and jQuery.ajaxTransport so that proxying the ajax method doesn't turn into a nightmare. Thanks go to scott_gonzalez and DaveMethvin for pointing out the issue. Also made ajaxSetup return "this" to enable chainable definitions -- jQuery.ajaxSetup(...).ajaxPrefilter(...).ajaxTransport(...).
-
jaubourg authored
Fixes #4964. Adds a statusCode object together with a new statusCode method on the jXHR object (deferred behaviour). They accept a map of statusCode/callback(s). Callbacks are fired when the status code of the response correponds to the key (as a success or an error callback depending on how the request completed). Unit tests added.
-
- 13 Jan, 2011 9 commits
-
-
jaubourg authored
Removed xhr pooling since failing cross-domain requests leaves the xhr object in an undefined state in Firefox. Also rewrote comments related to the active xhr list so that they make sense.
-
jaubourg authored
Reworked script and xhr abort logic to take advantage of the fact jXHR.abort will complete the request itself if not done already.
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Fixes #4897. Added ?? as a context-insensitive placeholder for the callback name of a JSONP request. Unit tests provided.
-
- 12 Jan, 2011 3 commits
-
-
jaubourg authored
-
jaubourg authored
Fixes #6230. Added a unit test to control that, since the ajax rewrite, setting the Accept header actually replaced the previous value and didn't append to it (tested in Safari 4.0.4 for which the problem was specifically reported).
-
jaubourg authored
Fixes 4825. jQuery.fn.load: use the jXHR's Promise interface to get the actual response in case ajaxSettings contains a dataFilter. Unit test added.
-
- 11 Jan, 2011 1 commit
-
-
rwldrn authored
-
- 10 Jan, 2011 2 commits
-
-
Colin Snover authored
-
Colin Snover authored
Ensure that buildFragment clones elements properly in all browsers. Fixes #3879, #6655. Also improves form element clone tests and fixes bugs in $.fn.clone exposed by these new test cases related to the values of checkboxes and radio buttons in IE.
-