-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtest.html
41 lines (38 loc) · 907 Bytes
/
test.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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>TimePilot</title>
<script src="./lib/require.min.js"></script>
<script>
require({
baseUrl: "./"
}, [
"TimePilot"
], function (TimePilot) {
new TimePilot(document.getElementById("test"), {
debug: true
});
});
</script>
<style>
html,
body {
margin: 0;
padding: 0;
}
#test {
width: 720px;
height: 480px;
background-color: #F88
}
#test canvas {
background-color: #FD8
}
</style>
</head>
<body>
<div id='test'></div>
<script>document.write('<script src="http://' + (location.host || 'localhost').split(':')[0] + ':35729/livereload.js?snipver=1"></' + 'script>')</script>
</body>
</html>