forked from imakewebthings/waypoints
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (57 loc) · 1.83 KB
/
index.html
File metadata and controls
68 lines (57 loc) · 1.83 KB
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Jasmine Test Runner</title>
<link rel="stylesheet" type="text/css" href="lib/jasmine.css">
<script src="lib/jasmine.js"></script>
<script src="lib/jasmine-html.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="lib/jasmine-jquery.js"></script>
<script src="lib/coffee-script.js"></script>
<!-- include source files here... -->
<script src="../waypoints.js"></script>
<script src="../shortcuts/infinite-scroll/waypoints-infinite.js"></script>
<script src="../shortcuts/sticky-elements/waypoints-sticky.js"></script>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
var count = 0;
var loadCoffee = function(files) {
for (var i = 0, len = files.length; i < len; i++) {
count++;
CoffeeScript.load(files[i], function() {
count--;
if (!count) {
jasmine.getFixtures().fixturesPath = 'fixtures';
execJasmine();
}
});
}
};
if (currentWindowOnload) {
currentWindowOnload();
}
loadCoffee([
'waypoints.coffee',
'infinite.coffee',
'sticky.coffee'
]);
};
function execJasmine() {
jasmineEnv.execute();
}
})();
</script>
</head>
<body>
</body>
</html>