/wwwroot/vendor/testrunner.js
JavaScript | 10 lines | 8 code | 1 blank | 1 comment | 2 complexity | dbd33d3ce93956c447dac352ebb63d37 MD5 | raw file
1// load testswarm agent 2(function() { 3 var url = window.location.search; 4 url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) ); 5 if ( !url || url.indexOf("http") !== 0 ) { 6 return; 7 } 8 9 document.write("<scr" + "ipt src='http://swarm.af83.com/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>"); 10})();