aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/script.js
Commit message (Collapse)AuthorAgeFilesLines
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+7
|
* Removes unnecessary call to `.off()` as noted by @dcherman.jaubourg2013-01-211-1/+1
|
* Further script transport cleanup, close gh-1123.jaubourg2013-01-201-19/+16
|
* Reduced script transportjaubourg2013-01-201-47/+21
|
* No ticket: compress ajax. Close gh-1041.Richard Gibson2012-11-251-9/+10
|
* Set async to true instead of async (prop vs. attr). Closes gh-1039Timo Tijhof2012-11-211-1/+1
|
* Strips IIFEs from modules; Always require built jQuery for tests.Rick Waldron2012-06-041-4/+0
|
* Applies exception in Style Guidelines regarding objects and functions when ↵jaubourg2011-04-081-2/+2
| | | | they are the last argument of a function call.
* Fixes #8744. Makes sure script transport abort method actually removes the ↵jaubourg2011-04-041-1/+1
| | | | script tag even if readyState exists.
* Fixes #8098. Use the fast document.head when available. Don't set unneeded ↵Mathias Bynens2011-02-021-1/+1
| | | | "script.type = text/javascript".
* Script dataType now supports ecmascript mimetypes.jaubourg2011-01-311-2/+2
|
* Fixes #8082. Text to script converter now returns text. Unit test added.jaubourg2011-01-291-1/+4
|
* More code style fixes.jaubourg2011-01-231-1/+1
|
* Apply JQuery Core Style Guidelines to ajax.js and ajax/*.js,jaubourg2011-01-231-17/+12
|
* Cleans up and simplifies code shared by ajaxPrefilter and ajaxTransport. ↵jaubourg2011-01-201-2/+4
| | | | Removes chainability of ajaxSetup, ajaxPrefilter and ajaxTransport. Also makes sure context is handled properly by ajaxSetup (unit test added).
* The script prefilter now forces cross-domain requests type to GET.jaubourg2011-01-161-0/+1
|
* Fixes #2994. Not finding a transport now fires the error callbacks and ↵jaubourg2011-01-161-6/+10
| | | | 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.
* Moved jQuery.ajax.prefilter and jQuery.ajax.transport to ↵jaubourg2011-01-131-2/+1
| | | | 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(...).
* Reworked script and xhr abort logic to take advantage of the fact jXHR.abort ↵jaubourg2011-01-131-5/+8
| | | | will complete the request itself if not done already.
* Script transport now uses ajaxSetup to define script dataType.jaubourg2011-01-121-3/+3
|
* Renamed src/transports to src/ajax (in case we need prefilters in the future ↵jaubourg2011-01-061-0/+82
and to avoid a separate prefilters directory).