Sha256: ae0dca7714e50fcedca77688d159ee374513703369a4ace80d6d0d2187d272b0

Contents?: true

Size: 199 Bytes

Versions: 7

Compression:

Stored size: 199 Bytes

Contents

<%= view_namespace %> ||= {}

class <%= view_namespace %>.ShowView extends Backbone.View
  template: JST["<%= jst 'show' %>"]

  render: ->
    @$el.html(@template(@model.toJSON() ))
    return this

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
bbr-wsm-1.1.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-1.2.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
railsy_backbone-0.0.5 lib/generators/backbone/scaffold/templates/views/show_view.coffee
railsy_backbone-0.0.4 lib/generators/backbone/scaffold/templates/views/show_view.coffee
railsy_backbone-0.0.3 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.9.10 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.9.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee