summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/view/HomeView.js
blob: 3eac71e8d4cb023ac627a31e440df2f5b3088222 (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
26
27
var HomeView = View.extend({

  el: "#home",

  // template: liquid($('#tmpl-home').html()),

  events: {
  },

  initialize: function(options){
    options = options || {}
    var data = this.data = options.data
  },
  
  render: function(){
    if (this.rendered) return
    this.rendered = true
  },

  show: function(){
    this.render(this.data)
  },

  hide: function(){
  },
  
})