-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
27 lines (27 loc) · 1.15 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sound Of Ascii</title>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="node_modules/codemirror/lib/codemirror.css">
<link rel="stylesheet" href="node_modules/codemirror/theme/monokai.css">
<link rel="stylesheet" href="css/main.css">
<script src="node_modules/requirejs/require.js"></script>
<script src="src/setup.js"></script>
</head>
<body>
<script>
requirejs(['jquery', 'views/layout', 'src/router'], function ($, LayoutView, router) {
var layoutView = new LayoutView();
layoutView.on('fully-rendered', function startRouter () {
router.start();
});
$('body').html(layoutView.render().el);
});
</script>
</body>
</html>