Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
13
assets/plugins/jquery-mockjax/lib/testswarm.js
vendored
Normal file
13
assets/plugins/jquery-mockjax/lib/testswarm.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// load testswarm agent
|
||||
(function() {
|
||||
var url = window.location.search;
|
||||
url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
|
||||
if ( !url || url.indexOf("http") !== 0 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// (Temporarily) Disable Ajax tests to reduce network strain
|
||||
isLocal = QUnit.isLocal = true;
|
||||
|
||||
document.write("<scr" + "ipt src='http://swarm.amplifyjs.com/js/inject.js?" + (new Date).getTime() + "'></scr" + "ipt>");
|
||||
})();
|
||||
Reference in New Issue
Block a user