-
Notifications
You must be signed in to change notification settings - Fork 1
/
backbone.html
90 lines (79 loc) · 3.7 KB
/
backbone.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Google Maps with Backbone.js</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Comparison of JavaScript MVC Libraries">
<meta name="author" content="Jon Yom-Tov">
<!-- Le styles -->
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/bootstrap-responsive.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="index.html">Google Maps with Javascript MVC Libraries - a Comparison</a>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li><a href="index.html">Introduction</a></li>
<li class="nav-header">Libraries</li>
<li class="active"><a href="backbone.html">Backbone.js</a></li>
<li><a href="knockout.html">Knockout.js</a></li>
<li><a href="ember.html">Ember.js</a></li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<div class="row-fluid">
<div class="span4">
<h2>Backbone.js</h2>
<form id="search-form" class="form-search" onsubmit="return false">
<input type="text" id="place" class="input-medium search-query" value="restaurants" />
<input type="submit" class="btn btn-primary" id="get-places" value="Search" />
</form>
<div id="map"></div>
</div><!--/span-->
<div class="span4">
<h2> </h2>
<ol id="places"></ol>
</div>
</div><!--/row-->
</div><!--/span-->
</div><!--/row-->
<footer>
<p><a rel="license" href="http://creativecommons.org/licenses/by/3.0/"></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.</p>
</footer>
</div><!--/.fluid-container-->
<script type="text/javascript" src="js/lib/jquery-min.1.5.1.js"></script>
<script type="text/javascript" src="js/lib/underscore-min.1.1.4.js"></script>
<script type="text/javascript" src="js/lib/backbone-min.0.3.3.js"></script>
<script type="text/javascript" src="js/backbone/place.js"></script>
<script type="text/javascript" src="js/backbone/places.js"></script>
<script type="text/javascript" src="js/backbone/view.js"></script>
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>
<script type="text/javascript">
$(document).ready(function(){
var appview = new AppView;
});
</script>
</body>
</html>