Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Include Sammy.Storage

  • Loading branch information...
commit 62144c9ac78c90f7c5ca51a5cfde1a20dfe3d92d 1 parent b70602e
@quirkey quirkey authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  index.html
  2. +1 −0  javascripts/json_store.js
View
1  index.html
@@ -19,6 +19,7 @@
<script src="javascripts/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="javascripts/sammy/sammy.js" type="text/javascript" charset="utf-8"></script>
<script src="javascripts/sammy/plugins/sammy.template.js" type="text/javascript" charset="utf-8"></script>
+<script src="javascripts/sammy/plugins/sammy.storage.js" type="text/javascript" charset="utf-8"></script>
<script src="javascripts/json_store.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>
View
1  javascripts/json_store.js
@@ -3,6 +3,7 @@
var app = $.sammy(function() {
this.element_selector = '#main';
this.use(Sammy.Template);
+ this.use(Sammy.Session);
this.before(function() {
// load the items
Please sign in to comment.
Something went wrong with that request. Please try again.