Sha256: 57c38dd9f4578025ae38654a65ca5481a157bcee31a2b602b1cfdcfaffe1bfda

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

Stored size: 309 Bytes

Contents

class Perkins.Views.Dashboard extends Backbone.View
  el: "#main-content"

  initialize: ->

  template: ->
    JST["dashboard"]()

  render: ()->
    $(@el).html(@template())

  close: ()->
    $(@el).html("")
    console.log "CLOSED VIEW CALLED"
    @.stopListening()
    @.undelegateEvents()
    @.unbind()

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
perkins-0.0.5 lib/perkins/assets/javascripts/perkins/v/dashboard.js.coffee
perkins-0.0.3 lib/perkins/assets/javascripts/perkins/v/dashboard.js.coffee
perkins-0.0.2 lib/perkins/assets/javascripts/perkins/v/dashboard.js.coffee