Skip to content
Permalink
Browse files

Don't really want to expect any global events here.

  • Loading branch information
dmethvin committed Dec 2, 2012
1 parent b5acda7 commit 27c9360a1b3c099850f4da8ba26a387f88b1897e
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/unit/ajax.js
@@ -442,7 +442,7 @@ module( "ajax", {
});

ajaxTest( "jQuery.ajax() - disabled globals", 3, {
setup: addGlobalEvents("ajaxStart ajaxStop ajaxSend ajaxComplete ajaxError ajaxSuccess"),
setup: addGlobalEvents(""),

This comment has been minimized.

Copy link
@jaubourg

jaubourg Dec 2, 2012

Member

You could put false here. Will work and would make the intent clearer ;)

global: false,
url: url("data/name.html"),
beforeSend: function() {

0 comments on commit 27c9360

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