- 02 Jan, 2011 1 commit
-
-
rwldrn authored
-
- 01 Jan, 2011 1 commit
-
-
Dave Methvin authored
When serializing text, encode all line breaks as CRLF pairs per the application/x-www-form-urlencoded specification. Fixes #6876.
-
- 31 Dec, 2010 25 commits
-
-
jaubourg authored
Conflicts: Rakefile src/ajax.js
-
jaubourg authored
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
-
jaubourg authored
-
jaubourg authored
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Removed re-usability from jXHR object (no more open, send & onreadystatechange support). Streamlined the implementation and put it back into ajax.js (removed xhr.js in the process). Went back to a more simple & direct approach to options handling (keeping much room to further minification-related optimizations). Code is cleaner, smaller & faster. Removed & edited unit tests accordingly. All build files have had xhr.js removed.
-
jaubourg authored
Removed dataCheckers, added true as possible value for dataConverters indicating dataType equivalence (ie. no conversion has to be performed).
-
unknown authored
-
unknown authored
Deferred cannot be cancelled by returning false in a callback. Exception in the callback are still propagated and execution of remaining callbacks is still possible.
-
unknown authored
-
unknown authored
-
unknown authored
-
unknown authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.
-
jaubourg authored
-
jaubourg authored
-
jaubourg authored
Simplified the way a Promise is tested for (removed promiseMarker). Removed isCancelled helper method from _Deferred, wasn't used nor tested. Reworked jQuery.Deferred and removed unnecessary variables. Also ensured a Promise will return itself when asked for a Promise. Finally, the jQuery.when tests have been revamped.
-
- 30 Dec, 2010 8 commits
-
-
Jonas Pfenniger authored
Update Rakefile to remove module wrappers (feature parity with make and ant). Update Makefile to avoid rebuilding jquery.js when it is not necessary to do so.
-
Colin Snover authored
Remove patch for very early versions of Opera 9 that made it impossible to animate values smaller than -10000. Fixes #7193. Thanks to igorw for initial patch & test case.
-
Colin Snover authored
-
Colin Snover authored
-
Colin Snover authored
Update CommonJS module registration to check to see if define is a function instead of just not undefined.
-
jaubourg authored
-
jaubourg authored
Fix for #7865. Scripts onload handler passes event as first parameter so statusText is now passed as second argument for aborts.
-
jaubourg authored
-
- 28 Dec, 2010 5 commits
-
-
jaubourg authored
Introduced a new promise method on deferreds that returns an immutable object (exposing then, fail, isResolved, isRejected and promise itself only). Remove $.isDeferred and moved logic directly into $.when. Made sure $.when returns a promise by using promise(). Used promise() in ajax code too.
-
jaubourg authored
-
jaubourg authored
-
Dave Methvin authored
Don't cache non-html strings in buildFragment to avoid possible collision with the names of Object methods like toString. Also makes the unit tests 0.5% to 8% faster. Fixes #6779.
-
Dave Methvin authored
When a native browser event is bubbling up the DOM, make sure that the correct isDefaultPrevented value is reflected by jQuery's Event object. Fixes #7793.
-