summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/nav/HeaderView.js
blob: 856bb404fec2914caca3e24af6576d73fa08f9d6 (plain)
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
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")
  },

})