Skip to content
Browse files

Added simple logging route and made sure the app is running

  • Loading branch information...
1 parent 5fb74e2 commit eff380afcf66bd0b62312027e5ff747010cd48cb @quirkey quirkey committed
Showing with 11 additions and 2 deletions.
  1. +11 −2 javascripts/json_store.js
View
13 javascripts/json_store.js
@@ -1,7 +1,16 @@
(function($) {
- $.sammy(function() {
- this.element_selector = '#main';
+ var app = $.sammy(function() {
+ this.element_selector = '#main';
+
+ this.get('#/', function(context) {
+ context.log('Yo yo yo');
+ });
+
+ });
+
+ $(function() {
+ app.run('#/');
});
})(jQuery);

0 comments on commit eff380a

Please sign in to comment.
Something went wrong with that request. Please try again.