diff options
Diffstat (limited to 'tests/unit/swarminject.js')
-rw-r--r-- | tests/unit/swarminject.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/swarminject.js b/tests/unit/swarminject.js index 78d37ef46..ebd3ccfac 100644 --- a/tests/unit/swarminject.js +++ b/tests/unit/swarminject.js @@ -1,9 +1,10 @@ // load testswarm agent (function() { - var url = window.location.search; + 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>" ); + document.write( "<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + + (new Date()).getTime() + "'></scr" + "ipt>" ); })(); |