forked from ExactTarget/fuelux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfuelux.html
72 lines (62 loc) · 2.06 KB
/
fuelux.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Fuel UX Test Suite</title>
<link rel="stylesheet" href="../bower_components/qunit/qunit/qunit.css" media="screen">
<script src="../bower_components/moment/min/moment-with-locales.js"></script>
<script src="../bower_components/qunit/qunit/qunit.js"></script>
<script>QUnit.config.autostart = false;</script>
<script src="../bower_components/requirejs/require.js"></script>
<!--[if gte IE 9]> -->
<script type="text/javascript" src="../bower_components/blanket/dist/qunit/blanket.js" data-cover-only="/js" data-cover-never="/bower_components"></script>
<!-- <![endif]-->
<script>
window.tmpMoment = window.moment;
window.moment = undefined;
(function () {
var jQueryPath;
// Feature detect for jQuery version
if('querySelector' in document
&& 'localStorage' in window
&& 'addEventListener' in window ) {
jQueryPath = 'bower_components/jquery/dist/jquery';
} else {
jQueryPath = 'bower_components/jquery-1.9.1/jquery';
}
// or force/overwrite the variable with a version via ?jquery= URL parameter
var jqverParam = location.search.match(/[?&]jquery=(.*?)(?=&|$)/);
var jqver = (jqverParam) ? jqverParam[1] : undefined;
// if jquery version does not using dist folder
if(jqver == '1.9.1') {
jQueryPath = 'bower_components/jquery-' + jqver + '/jquery';
}
require.config({
baseUrl: '../',
paths: {
jquery: jQueryPath,
bootstrap: 'bower_components/bootstrap/dist/js/bootstrap',
fuelux: 'js',
test: 'test',
text: 'bower_components/requirejs-text/text'
},
shim: {
'bootstrap': {
deps: ['jquery'],
exports: 'bootstrap'
}
}
});
require(['jquery', 'test/fuelux-test'], function() {});
})();
</script>
</head>
<body>
<h1 id="qunit-header">Fuel UX Test Suite</h1>
<h2 id="qunit-banner"></h2>
<div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<ol id="qunit-tests"></ol>
<div id="qunit-fixture"></div>
</body>
</html>