aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/testrunner.js
blob: a0eb3621ab6e156f00182fd84f45b89e813a2f8e (plain)
1
2
3
4
5
6
7
8
9
10
11
jQuery.noConflict(); // Allow the test to run with other libs or jQuery's.

// 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>");
})();