-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (26 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<title>Backbone with ES6</title>
<link href='http://fonts.googleapis.com/css?family=Lato:100,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="app/styles/main.css">
</head>
<body>
<div id="app"></div>
<p class="info">This example accompanies an article by Mike Fowler called <a href="http://mikefowler.me/2014/06/11/backbone-with-es6/">“Backbone with ES6”</a>. The source code can be found <a href="https://github.com/mikefowler/backbone-with-es6">here</a>.</p>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/underscore/underscore.js"></script>
<script src="bower_components/backbone/backbone.js"></script>
<script src="bower_components/traceur/traceur.js"></script>
<script src="bower_components/es6-module-loader/dist/es6-module-loader.js"></script>
<script>System.import('app/scripts/main')</script>
<script type="text/template" name="home">
<h1>Home</h1>
<a href="#resources">Go to “Resources”</a>
</script>
<script type="text/template" name="resources">
<h1>Resources</h1>
<a href="#">Go to back to “Home”</a>
</script>
</body>
</html>