1 jQuery
.noConflict(); // Allow the test to run with other libs or jQuery's.
3 // jQuery-specific QUnit.reset
5 var reset
= QUnit
.reset
;
6 var ajaxSettings
= jQuery
.ajaxSettings
7 QUnit
.reset = function() {
8 reset
.apply(this, arguments
);
9 jQuery
.event
.global
= {};
10 jQuery
.ajaxSettings
= jQuery
.extend({}, ajaxSettings
);
14 // load testswarm agent
16 var url
= window
.location
.search
;
17 url
= decodeURIComponent( url
.slice( url
.indexOf("swarmURL=") + 9 ) );
18 if ( !url
|| url
.indexOf("http") !== 0 ) {
22 // (Temporarily) Disable Ajax tests to reduce network strain
23 isLocal
= QUnit
.isLocal
= true;
25 document
.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date
).getTime() + "'></scr" + "ipt>");