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