Sha256: e9853df83d003fd10b31af23b9536ae7bad6d90649ee4e9e8424a5a359f9eaf0

Contents?: true

Size: 201 Bytes

Versions: 8

Compression:

Stored size: 201 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

8 entries across 8 versions & 1 rubygems

Version Path
rails-backbone-0.8.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.7.2 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.7.1 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.7.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.6.1 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.6.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.6.0.rc lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.5.5 lib/generators/backbone/scaffold/templates/views/show_view.coffee