Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
jio
Commits
17dfeaa4
Commit
17dfeaa4
authored
Aug 06, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests.html added, a test page using requirejs
parent
eef176f9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
test/tests.html
test/tests.html
+13
-0
test/tests.require.js
test/tests.require.js
+34
-0
No files found.
test/
jio
tests.html
→
test/tests.html
View file @
17dfeaa4
...
...
@@ -2,19 +2,12 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
/>
<title>
JIO
QUnit/Sinon Test
</title>
<title>
JIO
, Storages and ComplexQueries QUnit/Sinon Tests
</title>
<link
rel=
"stylesheet"
href=
"../lib/qunit/qunit.css"
/>
<script
data-main=
"tests.require.js"
src=
"../lib/require/require.js"
>
</script>
</head>
<body>
<div
id=
"qunit"
></div>
<script
type=
"text/javascript"
src=
"../lib/qunit/qunit.js"
></script>
<script
type=
"text/javascript"
src=
"../lib/sinon/sinon.js"
></script>
<script
type=
"text/javascript"
src=
"../lib/sinon/sinon-qunit.js"
></script>
<script
type=
"text/javascript"
>
<!--
var
require
=
{};
// IE compatibility
//-->
</script>
<script
data-main=
"jiotests"
src=
"../lib/require/require.js"
></script>
</body>
</html>
test/tests.require.js
0 → 100644
View file @
17dfeaa4
/*jslint indent: 2, maxlen: 80 */
/*global require */
(
function
()
{
"
use strict
"
;
require
.
config
({
"
paths
"
:
{
"
md5
"
:
"
../lib/md5/md5
"
,
"
complex_queries
"
:
"
../complex_queries
"
,
"
jio
"
:
"
../jio
"
,
"
jio_tests
"
:
"
jio/tests
"
,
"
localstorage
"
:
"
../src/jio.storage/localstorage
"
,
"
localstorage_tests
"
:
"
jio.storage/localstorage.tests
"
,
"
qunit
"
:
"
../lib/qunit/qunit
"
,
"
sinon
"
:
"
../lib/sinon/sinon
"
,
"
sinon_qunit
"
:
"
../lib/sinon/sinon-qunit
"
},
"
shim
"
:
{
"
md5
"
:
{
"
exports
"
:
"
hex_md5
"
},
"
localstorage
"
:
[
"
jio
"
,
"
complex_queries
"
],
"
sinon
"
:
[
"
qunit
"
],
"
sinon_qunit
"
:
[
"
sinon
"
]
}
});
require
([
"
sinon_qunit
"
,
"
jio_tests
"
,
"
localstorage_tests
"
]);
}());
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment