Temporarily disable ajax tests when running in TestSwam.
[jquery.git] / test / data / testrunner.js
1 jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.
2
3 // load testswarm agent
4 (function() {
5         var url = window.location.search;
6         url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
7         if ( !url || url.indexOf("http") !== 0 ) {
8                 return;
9         }
10
11         // (Temporarily) Disable Ajax tests to reduce network strain
12         QUnit.isLocal = true;
13
14         document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
15 })();