forked from chaplinjs/facebook-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (50 loc) · 1.54 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
<!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" class="accessible-fallback">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>
<script src="js/vendor/require-1.0.8.js"></script>
<script>
require.config({
baseUrl: '/js/',
paths: {
jquery: 'vendor/jquery-1.7.2',
underscore: 'vendor/underscore-1.3.2',
backbone: 'vendor/backbone-0.9.2',
handlebars: 'vendor/handlebars-1.0.0.beta.6',
text: 'vendor/require-text-1.0.8',
chaplin: 'vendor/chaplin'
},
waitSeconds: 1,
// For easier development, disable browser caching
// Of course, this should be removed in a production environment
urlArgs: 'bust=' + (new Date()).getTime()
});
// Bootstrap the application
require(['facebook_application'], function (FacebookApplication) {
var app = new FacebookApplication();
app.initialize();
});
</script>
</body>
</html>