-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
51 lines (49 loc) · 1.98 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
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="static/img/favicon.ico">
<title>shitstream</title>
<link href="static/css/bootstrap.min.css" rel="stylesheet">
<link href="static/css/main.css" rel="stylesheet">
</head>
<body>
<script src="static/js/lib/jquery-1.10.2.js"></script>
<script src="static/js/lib/bootstrap.min.js"></script>
<script src="static/js/lib/handlebars-1.1.2.js"></script>
<script src="static/js/lib/ember-1.7.0.js"></script>
<script src="static/js/lib/ember-data-1.0.0-beta10.js"></script>
<script src="static/js/lib/socket.io-0.9.16.js"></script>
<script src="static/js/lib/moment-2.8.3.js"></script>
<script src="static/js/lib/moment-duration-format-1.3.0.js"></script>
<script src="static/js/app.js"></script>
<script>
function compile(template) {
var templateName = template.split('/templates/').reverse()[0].replace('.hbs', '');
$.ajax({
url: template,
cache: false,
async: false,
success: function (source) {
var input = Ember.Handlebars.precompile(source.toString());
Ember.TEMPLATES[templateName] = Ember.Handlebars.template(input);
}
});
}
compile('/static/js/templates/add_url.hbs');
compile('/static/js/templates/album.hbs');
compile('/static/js/templates/application.hbs');
compile('/static/js/templates/artist.hbs');
compile('/static/js/templates/artists.hbs');
compile('/static/js/templates/error.hbs');
compile('/static/js/templates/index.hbs');
compile('/static/js/templates/loading.hbs');
compile('/static/js/templates/queue.hbs');
compile('/static/js/templates/songs.hbs');
</script>
</body>
</html>