diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-14 19:12:33 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-14 19:12:33 -0400 |
| commit | 007ef2401acf0a98d7412dba06e1acd5f3957a1b (patch) | |
| tree | 806b77bab1cee31b09ed5075d9aafd1e32f54a12 /StoneIsland/www/js/lib/nav/HeaderView.js | |
| parent | 75898c4a43a68e3bea02e4e05fa2158848d455b4 (diff) | |
stub blog views
Diffstat (limited to 'StoneIsland/www/js/lib/nav/HeaderView.js')
| -rw-r--r-- | StoneIsland/www/js/lib/nav/HeaderView.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/nav/HeaderView.js b/StoneIsland/www/js/lib/nav/HeaderView.js index f76001d4..856bb404 100644 --- a/StoneIsland/www/js/lib/nav/HeaderView.js +++ b/StoneIsland/www/js/lib/nav/HeaderView.js @@ -3,9 +3,23 @@ var HeaderView = View.extend({ el: "#header", events: { + "click .burger": "nav", + "click .logo": "logo", + "click .cart": "cart", }, initialize: function(){ }, + + nav: function(){ + app.nav.show() + }, + + logo: function(){ + }, + + cart: function(){ + app.router.go("cart") + }, })
\ No newline at end of file |
