-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.jade
71 lines (59 loc) · 1.5 KB
/
index.jade
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
!!! 5
html
head
title Lysertron
style.
body { margin: 0; }
canvas { background: black }
audio { position: absolute; bottom: 10px; left: 10px; }
#song-select { position: absolute; bottom: 10px; left: 320px; }
#stats { position: absolute; top: 10px; right: 10px; }
#timeline {
position: absolute;
width: 2000%;
top: 0;
left: 50%;
}
#timeline .row {
background: rgba(255,255,255, 0.5);
height: 20px;
position: relative;
margin: 2px 0;
}
#timeline .block {
position: absolute;
top: 0;
height: 20px;
width: 1px;
background: #444;
}
#timeline-current {
position: absolute;
top: 0;
left: 50%;
height: 90px;
width: 2px;
background: red;
z-index: 10;
}
// Vendor
each name in vendor
script(src="js/vendor/#{name}.js")
// Lysertron
each name in app
script(src="js/#{name}.js")
// Layers
each layer in layers
script(src="layers/#{layer}.js")
// Spec
if specRun
script(src="js/vendor/mocha.js")
script(src="js/vendor/chai.js")
script(src="js/vendor/sinon.js")
script(src="spec/spec_helper.js")
link(rel='stylesheet', type="text/css", href="js/vendor/mocha.css")
style.
canvas { width: 0; height: 0 }
each spec in specs
script(src="spec/#{spec}.js")
body