Skip to content
Permalink
Browse files

Small adjustment to prefilter test. Follow the right path for prefixes.

  • Loading branch information...
timmywil committed Sep 12, 2013
1 parent 68213f2 commit e12746d756ef32124b163136fe49e753b35c7111
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/unit/ajax.js
@@ -1525,9 +1525,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();
}

0 comments on commit e12746d

Please sign in to comment.
You can’t perform that action at this time.