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:
30
assets/plugins/jquery-mockjax/test/index.html
Normal file
30
assets/plugins/jquery-mockjax/test/index.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="../lib/qunit.css" type="text/css" media="screen" />
|
||||
<script src="../lib/qunit.js"></script>
|
||||
<script src="../lib/testswarm.js"></script>
|
||||
<script src="jquery.js"></script>
|
||||
<script src="../lib/json2.js"></script>
|
||||
<script src="../jquery.mockjax.js"></script>
|
||||
<script src="test.js"></script>
|
||||
<title>MockJax Tests - </title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="qunit-header">
|
||||
MockJax
|
||||
<a href="?jquery=1.3.2">jQuery 1.3.2</a>
|
||||
<a href="?jquery=1.4.4">jQuery 1.4.4</a>
|
||||
<a href="?jquery=1.5.2">jQuery 1.5.2</a>
|
||||
<a href="?jquery=1.6.4">jQuery 1.6.4</a>
|
||||
<a href="?jquery=1.7.2">jQuery 1.7.2</a>
|
||||
<a href="?jquery=1.8.3">jQuery 1.8.3</a>
|
||||
<a href="?jquery=1.9.1">jQuery 1.9.1</a>
|
||||
<a href="?jquery=2.0.0">jQuery 2.0.0</a>
|
||||
<a href="?jquery=git">jQuery Latest (git)</a>
|
||||
</h1>
|
||||
<h2 id="qunit-banner"></h2>
|
||||
<h2 id="qunit-userAgent"></h2>
|
||||
<ol id="qunit-tests"></ol>
|
||||
</body>
|
||||
</html>
|
||||
25
assets/plugins/jquery-mockjax/test/jquery.js
vendored
Normal file
25
assets/plugins/jquery-mockjax/test/jquery.js
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
(function() {
|
||||
|
||||
var parts = document.location.search.slice( 1 ).split( "&" ),
|
||||
length = parts.length,
|
||||
i = 0,
|
||||
current,
|
||||
version = "1.3.2",
|
||||
file = "http://code.jquery.com/jquery-git.js";
|
||||
|
||||
for ( ; i < length; i++ ) {
|
||||
current = parts[ i ].split( "=" );
|
||||
if ( current[ 0 ] === "jquery" ) {
|
||||
version = current[ 1 ];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (version != "git") {
|
||||
file = "../lib/jquery-" + version + ".js";
|
||||
}
|
||||
|
||||
|
||||
document.write( "<script src='" + file + "'></script>" );
|
||||
|
||||
})();
|
||||
1228
assets/plugins/jquery-mockjax/test/test.js
vendored
Normal file
1228
assets/plugins/jquery-mockjax/test/test.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
assets/plugins/jquery-mockjax/test/test.json
Normal file
1
assets/plugins/jquery-mockjax/test/test.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "say" : "I'm a json file!" }
|
||||
1
assets/plugins/jquery-mockjax/test/test_jsonp.js
vendored
Normal file
1
assets/plugins/jquery-mockjax/test/test_jsonp.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
abcdef123456({ "data" : "JSONP is cool" });
|
||||
1
assets/plugins/jquery-mockjax/test/test_proxy.json
Normal file
1
assets/plugins/jquery-mockjax/test/test_proxy.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "proxy" : true }
|
||||
1
assets/plugins/jquery-mockjax/test/test_script.js
vendored
Normal file
1
assets/plugins/jquery-mockjax/test/test_script.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
TEST_SCRIPT_VAR = 1;
|
||||
Reference in New Issue
Block a user