aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #11743: Don't mask script errors in jQuery.ajax, closes gh-795.Richard Gibson2012-05-311-86/+85
|
* -8 bytesOleg2012-05-041-6/+5
|
* Fixes the parameters given to load callback when the request errors.jaubourg2012-05-021-6/+11
|
* jQuery.fn.load optimizationOleg2012-05-011-47/+38
|
* jQuery.ajaxSetup() data is merged with params. Fixes #10524Oleg2012-05-011-1/+0
|
* Fix #8653, .param() undefined/null values become empty stringstsinha2012-04-051-1/+1
|
* Merge branch '1.8/#11010/Deferred' into 1.8prejaubourg2012-04-031-1/+1
|\
| * Makes Deferred implementation truly Promise/A compliant. Unit tests amended. ↵jaubourg2012-04-021-1/+1
| | | | | | | | Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/.
* | For much improved consistency, jqXHR.abort() sets a default statusText of ↵jaubourg2012-04-021-4/+8
| | | | | | | | 'canceled' right until after beforeSend has been called (in which case it reverts to the default of 'abort'): now all early aborts have a statusText of 'canceled'.
* | $.ajax now always returns an object implementing the Promise interface. ↵jaubourg2012-04-021-3/+3
|/ | | | | | | Fixes #10944. Unit tests amended. For back-compat, in case of an early abort, callbacks passed in the options are not called (while subsequent callbacks attached to the returned Promise are). For early abort triggered by returning false in beforeSend, statusText is "canceled".
* Fixes #4624... 3 years later, people!jaubourg2012-03-071-1/+1
|
* fix prefilter comment typopresbrey2012-01-221-1/+1
|
* Add undef:true to JSHint now that it understands hoistingMike Sherov2012-01-191-12/+12
| | | | also add smarttabs:true and fix some smarttabs spacing issues
* Fix #10978: Let jQuery.param() accept non-native constructed objects.Rick Waldron2012-01-121-2/+2
|
* Fix #10692. JSLint is dead! Long live JSHint!Mike Sherov2011-12-081-12/+12
| | | | Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
* Fix #10466. jQuery.param() should treat object-wrapped primitives as primitives.Rick Waldron2011-12-061-1/+1
|
* Landing pull request 604. Updates bind to on in src/ajax.js. Fixes #10817.Rick Waldron2011-11-171-1/+1
| | | | | | More Details: - https://github.com/jquery/jquery/pull/604 - http://bugs.jquery.com/ticket/10817
* Take 2 on "Fix ajax to always expect an Error object, per #10646."Dave Methvin2011-11-081-2/+2
| | | | | | We can't use jQuery.error to rethrow anymore since it constructs a new Error from its supposedly-string arg. Also, older IE stringifies Error objects into "[object Error]" so I've loosened the unit test criteria. This reverts commit 586fb059190ecacd89e3cd211c78e776792d2f2b.
* Revert "Catch one more place where a plain-text error was thrown."Dave Methvin2011-11-081-1/+1
| | | | This reverts commit cc4a999648d2623972e6dabad0e6c4b1bb60458a.
* Catch one more place where a plain-text error was thrown.Dave Methvin2011-11-081-1/+1
|
* Fix ajax to always expect an Error object, per #10646.Dave Methvin2011-11-081-2/+2
|
* Cleanup spacing in ajax.js. Fixes #10601Rick Waldron2011-10-271-1/+1
|
* Core styleguide cleanup. Fixes #10586Rick Waldron2011-10-261-11/+11
|
* $.Callbacks, $.Topic and notify/progress on $.Deferred.jaubourg2011-09-191-4/+4
|
* Use jdalton's shorter sequence for the chars.Dave Methvin2011-08-231-1/+1
|
* Use a semantic name for the variable.Dave Methvin2011-08-231-3/+3
|
* Fixes #10098. Avoid a slashy-starry char sequence in literal strings to ↵Dave Methvin2011-08-221-3/+6
| | | | evade faulty script compressors.
* Merge pull request #431 from DenisKnauf/masterDave Methvin2011-08-041-1/+1
|\ | | | | input type=datetime-local (ajax doesn't support it, yet)
| * input type=datetime-local support for ajax.Denis Knauf2011-07-071-1/+1
| |
* | Fixes #9854: propagates native statusText onto jqXHR.statusText. statusText ↵jaubourg2011-07-231-2/+3
| | | | | | | | in callbacks is still normalized. Unit test added.
* | Makes sure that status -1 (used when an internal error occured) will not tag ↵jaubourg2011-07-231-1/+1
| | | | | | | | jqXHR.readyState as complete (4).
* | Fixes #9887: ajax now supports circular references into objects passed as ↵jaubourg2011-07-231-16/+34
|/ | | | context. Prefilter and transport developpers should add their own custom option into flatOptions when needed. Unit test added.
* Fixes #9632. Adds res:// protocol to the list of local protocols.jaubourg2011-07-011-1/+1
|
* Fixes #9682. Removes data from the options for request with no content so ↵jaubourg2011-07-011-0/+2
| | | | that it is not used again in case of a retry. Unit test added.
* Replaces typo (status instead of state) as observed in #9585.jaubourg2011-07-011-1/+1
|
* Restores var names to satisfy the crock-machine. Supplements #9008Rick Waldron2011-04-281-3/+3
|
* Make cached rspaces regex definitions consistent. Fixes #9008rwldrn2011-04-281-3/+3
|
* (Re) Fixes #8884 in a way that keeps the format of the headers map sent to ↵jaubourg2011-04-191-2/+5
| | | | transports natural.
* Cache references to navigator and location. Fixes #6690.John Resig2011-04-161-2/+2
|
* Backing out fix for #6481.John Resig2011-04-161-10/+3
|
* Removes now unnecessary regexp and companion function. Fixes some spacing ↵jaubourg2011-04-151-11/+7
| | | | issues. Shortens field names.
* Fixing code styling typo.Sam Bisbee2011-04-151-1/+1
|
* Continuing to map request headers using their name in uppercase for the ↵Sam Bisbee2011-04-151-7/+10
| | | | index, but we now map to an object with an unmodified name and value: { name: "", value: "" }. This prevents overwriting of the user's supplied headers, which many applications parse with case sensitivity, because we no longer use the modified, uppercase index when building the request.
* Applies exception in Style Guidelines regarding objects and functions when ↵jaubourg2011-04-081-3/+3
| | | | they are the last argument of a function call.
* Remove crossDomain:null comment, it's not needed since undefined==null below.Dave Methvin2011-03-301-1/+0
|
* Merge branch 'crossDomain' of https://github.com/JessThrysoee/jquery into ↵Dave Methvin2011-03-301-1/+1
|\ | | | | | | JessThrysoee-crossDomain
| * no need to specifically initialize crossDomain to nullJessThrysoee2011-03-111-1/+1
| |
| * Make it possible to force the Ajax crossDomain option to false.JessThrysoee2011-03-111-2/+2
| |
* | Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL ↵jaubourg2011-03-151-3/+3
|/ | | | schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
* A quick change to detect AIR urlsgnarf2011-02-241-1/+1
|