/wwwroot/vendor/testrunner.js
JavaScript | 10 lines | 8 code | 1 blank | 1 comment | 2 complexity | dbd33d3ce93956c447dac352ebb63d37 MD5 | raw file
- // 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.af83.com/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
- })();