-
Notifications
You must be signed in to change notification settings - Fork 6
/
test-latest-amd.html
35 lines (34 loc) · 1.39 KB
/
test-latest-amd.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE HTML>
<html>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
<title>Knockback.PageNavigatorSimple Test Suite (AMD)</title>
<script src="../vendor/require.js"></script>
<script type="text/javascript">
require.config({
paths: {
'underscore': "../vendor/underscore-1.3.3",
'backbone': "../vendor/backbone-0.9.2",
'knockout': "../vendor/knockout-2.1.0",
'knockback': "../vendor/knockback-core-0.16.5",
'knockback-page-navigator-simple': "../../knockback-page-navigator-simple",
}
});
</script>
<!-- TESTS -->
<link rel="stylesheet" href="../vendor/qunit/qunit.css" type="text/css" media="screen" />
<script type="text/javascript" src="../vendor/qunit/jquery.js"></script>
<script type="text/javascript" src="../vendor/qunit/qunit.js"></script>
<script type="text/javascript" src="../vendor/qunit/jslitmus.js"></script>
<script type="text/javascript" src="build/test-amd.js"></script>
</head>
<body>
<div>
<h1 id="qunit-header">Knockback.PageNavigatorSimple Test Suite (AMD)</h1>
<h2 id="qunit-banner"></h2>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
</div>
<script type="text/javascript">QUnit.done = function(failures, total) {if (!total) { $('#qunit-banner').removeClass('qunit-pass').addClass('qunit-fail'); throw 'Warning: no tests run'}}</script>
</body>
</html>