imported the whole jquery-ui package, refreshed with 1.10.2
[unfold.git] / third-party / jquery-ui-1.10.2 / tests / unit / swarminject.js
diff --git a/third-party/jquery-ui-1.10.2/tests/unit/swarminject.js b/third-party/jquery-ui-1.10.2/tests/unit/swarminject.js
new file mode 100644 (file)
index 0000000..ebd3ccf
--- /dev/null
@@ -0,0 +1,10 @@
+// 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>" );
+})();