- 18 Jan, 2011 9 commits
-
-
jeresig authored
-
jeresig authored
-
Colin Snover authored
-
Colin Snover authored
Merge in data_nocollide branch. Fixes #6968, improves unit testing framework checks for leaky stuff.
-
Brandon Sterne authored
Defer scriptEval test until first use to prevent Content Security Policy inline-script violations from occuring. Fixes #7371.
-
Colin Snover authored
Introduce a temporary hack to allow jQuery.fn.data("events") to continue to work. This will be going away in 1.6. More information will be available in the 1.5 release notes. -
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.
-