-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
32 lines (29 loc) · 951 Bytes
/
Copy pathindex.html
File metadata and controls
32 lines (29 loc) · 951 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<div id="app">
<h1>Ejemplo con Handlebars</h1>
<h2>Guarda el JSON en localstorage , luego lo bindea en el template, y lo elimina.</h2>
<a href="#" class="save">Guardar</a>
<a href="#" class="load">Cargar Template</a>
<a href="#" class="delete">Eliminar LocaStorage</a>
</div>
<script id="entry-template" type="text/x-handlebars-template">
<div class="entry">
<h1>{{title}}</h1>
<div class="body">
{{body}}
</div>
</div>
</script>
<script src="/bower_components/jquery/dist/jquery.js"></script>
<script src="/bower_components/handlebars/handlebars.js"></script>
<script src="/app/build/edgarjs.js"></script>
<script src="/app.js"></script>
<link rel="stylesheet" href="/app.css">
</body>
</html>