Sha256: e99d639555ae654e7ded995ac137a9b6451c0e7a1ff4733433350511db2baa30

Contents?: true

Size: 552 Bytes

Versions: 2

Compression:

Stored size: 552 Bytes

Contents

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

#= 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

2 entries across 2 versions & 1 rubygems

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