Sha256: 1d49b91d8c1b48cfea4777f13ff0da5814f6bbaec457f884333e5d7129bc7748

Contents?: true

Size: 539 Bytes

Versions: 4

Compression:

Stored size: 539 Bytes

Contents

_.def('<%= javascript_namespace %>.Application').extends('Luca.Application').with

  name: '<%= javascript_namespace %>App'
  autoBoot: false
  router: "<%= javascript_namespace %>.Router"
  el: '#viewport'

  components:[
    ctype: 'controller'
    name: 'pages'
    components:[
      type: "main"
      name: "main"
    ]
  ]

$ ->
  Luca.Collection.bootstrap( window.<%= javascript_namespace %>Bootstrap )
  window.<%= javascript_namespace %>App = new <%= javascript_namespace %>.Application()
  <%= javascript_namespace %>App.boot()

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
luca-0.9.76 lib/generators/luca/application/templates/javascripts/application.js.coffee
luca-0.9.7 lib/generators/luca/application/templates/javascripts/application.js.coffee
luca-0.9.65 lib/generators/luca/application/templates/javascripts/application.js.coffee
luca-0.9.6 lib/generators/luca/application/templates/javascripts/application.js.coffee