njhamann
0d68b7877f
Fix #14036 . Remove user/pass from ajaxLocation. Close gh-1340.
2013-11-13 22:53:15 -05:00
Oleg
cb37994d76
No ticket: fix code style inconsistencies. Closes gh-1361
2013-09-13 01:04:29 +04:00
Timmy Willison
825ac37736
Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules)
2013-09-09 19:13:01 -05:00
Timmy Willison
99191a510e
Apply consistent ordering in all modules. -38 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend.
2013-09-09 13:54:46 -05:00
Timmy Willison
99c123b159
Move parsing methods to their own files (separates manipulation dependency from core)
2013-09-08 21:05:07 -04:00
Timmy Willison
6318ae6ab9
AMD-ify jQuery sourcegit s! Woo! Fixes #14113 , #14163 .
2013-08-15 14:15:49 -04:00
Julian Aubourg
a2cd89a795
Handles HEAD requests as if they always were 204. Fixes #13922 .
2013-05-23 02:11:37 +02:00
Richard Gibson
03db1ada2c
Fix #12838 : hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051.
2013-04-17 11:27:57 -04:00
Michał Gołębiowski
7049877530
Correct oldIE-related comments, revert some workarounds. Close gh-1207.
2013-04-04 12:55:03 -04:00
Michał Gołębiowski
1205103a72
Update grunt-contrib-jshint to 0.3.0, close gh-1204.
...
(cherry picked from 4adde5d145
)
Conflicts:
src/data.js
src/effects.js
2013-04-03 20:51:30 -04:00
Michał Z. Gołębiowski
79992d7523
Edited comments and minor adjustments. Fixes #13553 . Closes gh-1195.
2013-03-12 21:06:25 -04:00
jaubourg
eebc77849c
Fixes #11151 , #13388 . Minor refactor of response conversion and when/where
...
responseXXX fields are set on the jqXHR. Close gh-1164.
(Cherry-picked from 69b3d5ce0f
)
2013-02-28 15:01:10 -05:00
Timo Tijhof
31478b9012
Optimisation: Use String instead of window.String. Close gh-1176.
...
Follows-up 22e28b01e6
.
2013-02-26 10:17:54 -05:00
byroot
bfc61b879e
Don't try and convert data for 204 No Content responses. Fixes #13292 . Fixes #13261 .
2013-01-24 02:34:02 +01:00
jaubourg
e63625e16e
Fixes awkward spacing
2012-11-29 17:28:16 +01:00
jaubourg
8a79be7894
Simplifies how url is kept devoid of anti-cache parameter for ifModified requests. Also, renames ifModifiedKey to cacheURL so that it now conveys the variable's nature rather than its purpose. -5 min/gzipped.
2012-11-29 17:16:42 +01:00
Matt Farmer
081c4efcf7
Alias options.method to options.type. Fixes #12004 .
2012-11-28 23:59:37 +01:00
Richard Gibson
0877d424e0
Fix #12959 : Optimize library-wide patterns
2012-11-27 01:59:22 +01:00
Richard Gibson
a938d7b128
No ticket: compress ajax. Close gh-1041.
2012-11-25 13:07:46 -05:00
jaubourg
8bae5e19af
Uses an additive approach to generating anti-cache parameters rather than a timestamp. Fixes #12550
2012-10-16 16:08:13 -04:00
Ben Truyman
ce5784a480
Handle a falsy URL in the settings object for jQuery.ajax. Fixes #10093 , Closes gh-979
2012-10-16 11:37:15 -04:00
jaubourg
40f9ab9cdf
better, more maintainable version of the prefilters execution and transport selection
2012-10-16 09:40:42 -04:00
Richard Gibson
da3ff3afe4
Fix #12637 : restore 1.8.1 ajax crossDomain logic. Close gh-944.
2012-10-03 21:07:50 -04:00
Richard Gibson
15b5dbfe23
Fix #12229 , size/consistency improvements. Close gh-887.
2012-09-18 18:04:31 -04:00
Dave Methvin
05337e78fa
Revert "Fix #11586 . Ajax DELETE ain't got no body, so data goes to its URL."
...
This reverts commit c01e022f33
.
We actually changed DELETE to accept a body on purpose, see http://bugs.jquery.com/ticket/7285 .
2012-08-24 11:59:01 -04:00
Dave Methvin
c01e022f33
Fix #11586 . Ajax DELETE ain't got no body, so data goes to its URL.
2012-08-23 21:33:29 -04:00
jaubourg
b292c4c2df
Calling load with null as the data parameter now properly issues a GET request, not a POST request. Unit tests added. Fixes #12234 .
2012-08-16 16:45:18 +02:00
Timmy Willison
beeab4d126
Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158 .
2012-07-30 10:44:47 -04:00
Richard Gibson
c14a6b385f
Clean up regexen; use common regex for numbers. Close gh-862.
2012-07-22 22:23:32 -04:00
jaubourg
ced5e9037a
Extracts the serialization code from the ajax module so that alternative ajax implementations can use it without the need for the whole ajax module to be included in the build.
2012-07-13 09:47:43 +02:00
Chris Faulkner
7b5ffcdac8
Fixes a variety of typographical problems. Closes gh-853
2012-07-11 09:46:21 -04:00
Mike Sherov
8f01b92b8f
Follow the style guide, lose 72 bytes! Closes gh-840.
2012-07-09 21:39:22 -04:00
Richard Gibson
a101e81bde
Interim take on cross-module variables, closes gh-817.
2012-06-15 21:01:44 -04:00
Rick Waldron
7c23b77af2
Strips IIFEs from modules; Always require built jQuery for tests.
2012-06-04 12:48:18 -04:00
Richard Gibson
742872984e
Fix #11743 : Don't mask script errors in jQuery.ajax, closes gh-795.
2012-05-31 08:31:13 -07:00
Oleg
bab6f5355c
-8 bytes
2012-05-04 00:18:08 +04:00
jaubourg
9cb1ab436d
Fixes the parameters given to load callback when the request errors.
2012-05-02 02:29:12 +02:00
Oleg
95291b44e6
jQuery.fn.load optimization
2012-05-01 14:47:14 -04:00
Oleg
6bed348a00
jQuery.ajaxSetup() data is merged with params. Fixes #10524
2012-05-01 14:39:45 -04:00
tsinha
36d2d9ae93
Fix #8653 , .param() undefined/null values become empty strings
2012-04-05 11:06:54 -04:00
jaubourg
03c5836fa1
Merge branch '1.8/#11010/Deferred' into 1.8pre
2012-04-03 14:19:27 +02:00
jaubourg
914df9cb42
For much improved consistency, jqXHR.abort() sets a default statusText of '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'.
2012-04-02 02:04:46 +02:00
jaubourg
395612bb15
$.ajax now always returns an object implementing the Promise interface. 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".
2012-04-02 01:54:19 +02:00
jaubourg
a41f240674
Makes Deferred implementation truly Promise/A compliant. Unit tests amended. Actually few changes required in jQuery's own source and we gained 8 bytes minified gzipped \o/.
2012-04-02 01:29:39 +02:00
jaubourg
bd56456b1e
Fixes #4624... 3 years later, people!
2012-03-07 17:08:59 +01:00
presbrey
1326510324
fix prefilter comment typo
2012-01-22 14:53:50 -05:00
Mike Sherov
135bb4ff81
Add undef:true to JSHint now that it understands hoisting
...
also add smarttabs:true and fix some smarttabs spacing issues
2012-01-19 22:36:08 -05:00
Rick Waldron
d828996478
Fix #10978 : Let jQuery.param() accept non-native constructed objects.
2012-01-12 20:14:51 -05:00
Mike Sherov
98386cfd77
Fix #10692 . JSLint is dead! Long live JSHint!
...
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
2011-12-08 21:04:57 -05:00
Rick Waldron
166b9d252a
Fix #10466 . jQuery.param() should treat object-wrapped primitives as primitives.
2011-12-06 16:02:54 -05:00