forked from x-tag/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (41 loc) · 1.59 KB
/
index.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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>X-Tag: Jasmine Spec Runner</title>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
<link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
<script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
<script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
<script type="text/javascript" src="jasmine/lib/jasmine-jsreporter.js"></script>
<script type="text/javascript" src="../lib/webcomponents-lite.js"></script>
<!-- Specs -->
<script type="text/javascript" src="../spec/core.js"></script>
<script type="text/javascript">
(function() {
var jasmineEnv = jasmine.getEnv();
jasmineEnv.updateInterval = 1000;
var jsReporter = new jasmine.JSReporter();
jasmineEnv.addReporter(jsReporter);
var htmlReporter = new jasmine.HtmlReporter();
jasmineEnv.addReporter(htmlReporter);
jasmineEnv.specFilter = function(spec) {
return htmlReporter.specFilter(spec);
};
var currentWindowOnload = window.onload;
window.onload = function() {
if (currentWindowOnload) {
currentWindowOnload();
}
jasmineEnv.execute();
};
})();
</script>
</head>
<body>
<div id="testbox"></div>
<x-sync id="sync_element"></x-sync>
<x-attr id="attr_element" baz="booze"></x-attr>
<div id="extend_element" is="x-extendelement1"></div>
</body>
</html>