Sha256: 06eeb4c1400d4426752221b26cd0851249547f355a50cebead49071455fefb80

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

#= require json2
#= require jquery
#= require spine
#= require spine/manager
#= require spine/ajax
#= require spine/route
#= require spine/rails

#= require_tree ./lib
#= require_self
#= require_tree ./models
#= require_tree ./controllers
#= require_tree ./views

class <%= app_class %> extends Spine.Controller
  @view: (name) ->
    JST["<%= app_name %>/views/#{name}"]

  constructor: ->
    super
    
    # Initialize controllers:
    #  @append(@items = new <%= app_class %>.Items)
    #  ...
    
    Spine.Route.setup()    

window.<%= app_class %> = <%= app_class %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spine-rails-0.0.6 lib/generators/spine/new/templates/index.coffee.erb