Sha256: 208da04e79f61be6738e223a8a845074ef2e544bbdf2016ac92134cd4309258f
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
class Perkins.Views.Profile extends Backbone.View el: "#main-content" initialize: -> @model = new Perkins.Models.Profile template: -> JST["profile"](@model.toJSON()) render: ()-> @model.fetch success: => $(@el).html(@template()) close: ()-> $(@el).html("") console.log "CLOSED VIEW CALLED" @.stopListening() @.undelegateEvents() @.unbind()
Version data entries
3 entries across 3 versions & 1 rubygems