Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renderjs
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
Ivan Tyagov
renderjs
Commits
d6d834b8
Commit
d6d834b8
authored
Jan 28, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rewrite test/index.html to load renderjs using requirejs, still loading qunit directly on purpose.
parent
68198036
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
test/index.html
test/index.html
+4
-13
test/require-renderjs_test.js
test/require-renderjs_test.js
+11
-0
No files found.
test/index.html
View file @
d6d834b8
...
...
@@ -3,11 +3,10 @@
<html>
<head>
<link
rel=
"stylesheet"
href=
"../lib/qunit/qunit.css"
type=
"text/css"
/>
<script
src=
"../lib/jquery/jquery.js"
>
</script>
<script
src=
"../lib/qunit/qunit.js"
type=
"text/javascript"
></script>
<script
type=
"text/javascript"
src=
"../renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"renderjs_test.js"
></script>
<script
data-main=
"require-renderjs_test.js"
type=
"text/javascript"
src=
"../lib/require/require.js"
></script>
</head>
<body>
<h1
id=
"qunit-header"
>
QUnit RenderJS test suite
</h1>
...
...
@@ -15,13 +14,5 @@
<h2
id=
"qunit-userAgent"
></h2>
<ol
id=
"qunit-tests"
></ol>
<div
id=
"qunit-fixture"
>
</div>
<script
type=
"text/javascript"
>
//
<!
[
CDATA
[
$
(
document
).
ready
(
setupRenderJSTest
());
//]]>
</script>
</body>
</html>
\ No newline at end of file
</html>
test/require-renderjs_test.js
0 → 100644
View file @
d6d834b8
// JavaScript file that is used to load RenderJs depenencies
require
.
config
({
baseUrl
:
"
..
"
,
shim
:
{
"
test/renderjs_test
"
:
[
"
renderjs
"
]
}
});
require
([
"
require-renderjs
"
,
"
test/renderjs_test
"
],
function
(
domReady
)
{
setupRenderJSTest
();
});
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