-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (32 loc) · 1.03 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="css/app.css" rel="stylesheet" />
<link href="todomvc-common/base.css" rel="stylesheet" />
<script src="js/requirejs.js" type="text/javascript"></script>
<script type="text/javascript">
requirejs.config({
baseUrl: './js'
, paths: {
underscore: 'lodash',
marionette: 'backbone.marionette',
jquery: 'http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min'
}
, shim: {
underscore: { exports: '_' },
backbone: {
deps: ['underscore', 'jquery'],
exports: 'Backbone'
}
}
, urlArgs: "bust=" + (new Date()).getTime()
});
require(['require', 'jquery'], function(require, $) {
$(function(){ require(['drivers/main'], function(app) { app.start() }); });
});
</script>
</head>
<body>
<section id="todoapp"></section>
</body></html>