Sha256: bc96c8fdd62586fab4b8489b6d061881227e8b954371095ed360798c2745d1ae

Contents?: true

Size: 223 Bytes

Versions: 6

Compression:

Stored size: 223 Bytes

Contents

<%= view_namespace %> ||= {}

class <%= view_namespace %>.ShowView extends Backbone.View
  template: JST["<%= jst 'show' %>"]
   
  render: ->
    $(this.el).html(this.template(this.options.model.toJSON() ))
    return this

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-backbone-0.5.3 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.5.2 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.5.1 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.5.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.2.0 lib/generators/backbone/scaffold/templates/views/show_view.coffee
rails-backbone-0.1.2 lib/generators/backbone/scaffold/templates/views/show_view.coffee