diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-09-12 15:49:15 -0500 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-09-12 15:49:53 -0500 |
commit | 53aa2e0c8baf047ca0375c52dfbf00eaede994a6 (patch) | |
tree | 9a327846ba259cb0263fc4df9c12be810785eda0 /test/unit | |
parent | c6b4230d5c6abb45a2f282bfd02b8b1325705d19 (diff) | |
download | jquery-53aa2e0c8baf047ca0375c52dfbf00eaede994a6.tar.gz jquery-53aa2e0c8baf047ca0375c52dfbf00eaede994a6.zip |
Use charAt instead of string indexing for oldIE's sake. Fixes #14356.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/ajax.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 152dabb4a..22fed363c 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -1568,9 +1568,10 @@ module( "ajax", { //----------- jQuery.ajaxPrefilter() ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, { + dataType: "prefix", setup: function() { // Ensure prefix does not throw an error - jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) { + jQuery.ajaxPrefilter("+prefix", function( options, _, jqXHR ) { if ( options.abortInPrefilter ) { jqXHR.abort(); } |