forked from chaplinjs/chaplin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (51 loc) · 1.61 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
52
53
54
55
56
57
58
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chaplin Example Application</title>
<link rel="stylesheet" href="css/main.css">
<!--[if lt IE 9]>
<script>
'abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary time video'.replace(/\w+/g,function(n){document.createElement(n)})
</script>
<![endif]-->
<script>
document.documentElement.className += 'js';
</script>
</head>
<body>
<h1>Chaplin Example Application</h1>
<p>This example uses a client-side Facebook login to display your Facebook likes.</p>
<p id="startup-loading">Loading…</p>
<div id="page-container">
<nav id="navigation-container"></nav>
<div id="content-container"></div>
<aside id="sidebar-container"></aside>
</div>
<div id="fb-root"></div>
<!--
This is a simple solution. We use the non-AMD versions of the core libraries
because nearly every module uses these libraries. For this demo, it's okay
that they create global objects (jQuery, $, _, Backbone, Handlebars etc.).
-->
<script src="js/vendor/jquery-1.7.1.js"></script>
<script src="js/vendor/underscore-1.3.1.js"></script>
<script src="js/vendor/backbone-0.9.1.js"></script>
<script src="js/vendor/handlebars-1.0.0.beta.6.js"></script>
<script src="js/vendor/require-1.0.7.js"></script>
<script>
require.config({
baseUrl: 'js/',
paths: {
text: 'vendor/require-text-1.0.7'
},
waitSeconds: 1,
// For easier development, disable browser caching:
urlArgs: 'bust=' + (new Date()).getTime()
});
require(['application'], function (Application) {
Application.initialize();
});
</script>
</body>
</html>