init
This commit is contained in:
10
include/jQuery/jquery-ui/tests/unit/swarminject.js
vendored
Normal file
10
include/jQuery/jquery-ui/tests/unit/swarminject.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// load testswarm agent
|
||||
(function() {
|
||||
var url = window.location.search;
|
||||
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
|
||||
if ( !url || url.indexOf("http") !== 0 ) {
|
||||
return;
|
||||
}
|
||||
document.write( "<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" +
|
||||
(new Date()).getTime() + "'></scr" + "ipt>" );
|
||||
})();
|
||||
Reference in New Issue
Block a user