Sha256: c9672681eaf0392e41d4bd41f91a32e79c72709b88bd6aa3df51c286af9b0a00
Contents?: true
Size: 356 Bytes
Versions: 4
Compression:
Stored size: 356 Bytes
Contents
Application.Views.Photos ||= {} class Application.Views.Photos.PhotoView extends Backbone.View template: JST["backbone/templates/photos/photo"] events: "click .destroy" : "destroy" tagName: "tr" destroy: () -> @model.destroy() this.remove() return false render: -> @$el.html(@template(@model.toJSON() )) return this
Version data entries
4 entries across 4 versions & 2 rubygems