aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
Commit message (Collapse)AuthorAgeFilesLines
* Separate jQuery.fn.init into its own module (for lighter core dependencies ↵Timmy Willison2013-09-091-0/+1
| | | | across all modules)
* Apply consistent ordering in all modules. -38 bytes. Order modules like ↵Timmy Willison2013-09-091-156/+156
| | | | functions > jQuery.extend > jQuery.fn.extend.
* Move parsing methods to their own files (separates manipulation dependency ↵Timmy Willison2013-09-081-0/+2
| | | | from core)
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-68/+16
|
* Handles HEAD requests as if they always were 204. Fixes #13922.Julian Aubourg2013-05-231-1/+1
|
* Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute ↵Richard Gibson2013-04-171-23/+23
| | | | in domManip. Close gh-1051.
* Correct oldIE-related comments, revert some workarounds. Close gh-1207.Michał Gołębiowski2013-04-041-1/+1
|
* Update grunt-contrib-jshint to 0.3.0, close gh-1204.Michał Gołębiowski2013-04-031-2/+2
| | | | | | | | (cherry picked from 4adde5d14534799f3bcfac2771e1513be8a56a2f) Conflicts: src/data.js src/effects.js
* Edited comments and minor adjustments. Fixes #13553. Closes gh-1195.Michał Z. Gołębiowski2013-03-121-4/+5
|
* Fixes #11151, #13388. Minor refactor of response conversion and when/wherejaubourg2013-02-281-41/+44
| | | | | | responseXXX fields are set on the jqXHR. Close gh-1164. (Cherry-picked from 69b3d5ce0f081d3f113b2917495f35df160f8522)
* Optimisation: Use String instead of window.String. Close gh-1176.Timo Tijhof2013-02-261-1/+1
| | | | Follows-up 22e28b01e60e87b2454f88ca128fb84916b13564.
* Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes ↵byroot2013-01-241-3/+8
| | | | #13261.
* Fixes awkward spacingjaubourg2012-11-291-3/+2
|
* Simplifies how url is kept devoid of anti-cache parameter for ifModified ↵jaubourg2012-11-291-16/+16
| | | | requests. Also, renames ifModifiedKey to cacheURL so that it now conveys the variable's nature rather than its purpose. -5 min/gzipped.
* Alias options.method to options.type. Fixes #12004.Matt Farmer2012-11-281-0/+3
|
* Fix #12959: Optimize library-wide patternsRichard Gibson2012-11-271-3/+3
|
* No ticket: compress ajax. Close gh-1041.Richard Gibson2012-11-251-282/+255
|
* Uses an additive approach to generating anti-cache parameters rather than a ↵jaubourg2012-10-161-1/+3
| | | | timestamp. Fixes #12550
* Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093, ↵Ben Truyman2012-10-161-1/+3
| | | | Closes gh-979
* better, more maintainable version of the prefilters execution and transport ↵jaubourg2012-10-161-35/+20
| | | | selection
* Fix #12637: restore 1.8.1 ajax crossDomain logic. Close gh-944.Richard Gibson2012-10-031-3/+6
|
* Fix #12229, size/consistency improvements. Close gh-887.Richard Gibson2012-09-181-11/+8
|
* Revert "Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL."Dave Methvin2012-08-241-1/+1
| | | | | | This reverts commit c01e022f33575ed45fb8da65be756fc464d40a24. We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
* Fix #11586. Ajax DELETE ain't got no body, so data goes to its URL.Dave Methvin2012-08-231-1/+1
|
* Calling load with null as the data parameter now properly issues a GET ↵jaubourg2012-08-161-1/+1
| | | | request, not a POST request. Unit tests added. Fixes #12234.
* Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158.Timmy Willison2012-07-301-1/+1
|
* Clean up regexen; use common regex for numbers. Close gh-862.Richard Gibson2012-07-221-1/+1
|
* Extracts the serialization code from the ajax module so that alternative ↵jaubourg2012-07-131-160/+53
| | | | ajax implementations can use it without the need for the whole ajax module to be included in the build.
* Fixes a variety of typographical problems. Closes gh-853Chris Faulkner2012-07-111-1/+1
|
* Follow the style guide, lose 72 bytes! Closes gh-840.Mike Sherov2012-07-091-42/+39
|
* Interim take on cross-module variables, closes gh-817.Richard Gibson2012-06-151-3/+2
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* 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.