We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167e41f commit 3006fa7Copy full SHA for 3006fa7
test/index.html
@@ -7,6 +7,8 @@
7
<script type="text/javascript" src="../qunit/qunit.js"></script>
8
<script type="text/javascript" src="test.js"></script>
9
<script type="text/javascript" src="same.js"></script>
10
+
11
+ <script src="swarminject.js"></script>
12
</head>
13
<body>
14
<h1 id="qunit-header">QUnit Test Suite</h1>
test/swarminject.js
@@ -0,0 +1,9 @@
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;
+ }
+ document.write("<scr" + "ipt src='http://swarm.jquery.org/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
+})();
0 commit comments