PageRenderTime 202ms CodeModel.GetById 80ms app.highlight 1ms RepoModel.GetById 79ms app.codeStats 0ms

/wwwroot/vendor/testrunner.js

http://github.com/AF83/ucengine
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})();