Sha256: 0981c84b08ee74dc629f2f411f575dd38379ae5a391ba7e5071f32782a6604e1
Contents?: true
Size: 420 Bytes
Versions: 4
Compression:
Stored size: 420 Bytes
Contents
<%= view_namespace %> ||= {} class <%= view_namespace %>.<%= singular_name.capitalize %>View extends Backbone.View template: JST["<%= jst singular_name %>"] events: "click .destroy" : "destroy" tagName: "tr" destroy: () -> @options.model.destroy() this.remove() return false render: -> $(this.el).html(this.template(this.options.model.toJSON() )) return this
Version data entries
4 entries across 4 versions & 1 rubygems