Sha256: 4890897ba24f21b0c7c314ba19441ae546708472181a482b49c4b82dd271b329

Contents?: true

Size: 1.23 KB

Versions: 6

Compression:

Stored size: 1.23 KB

Contents

_.def('Sandbox.Application').extends('Luca.Application').with

  autoBoot: true

  name: 'SandboxApp'

  router: "Sandbox.Router"

  el: '#viewport'

  fluid: true

  topNav:'top_navigation'

  useKeyHandler: false

  keyEvents:
    meta:
      forwardslash: "developmentConsole"

  collectionManager:
    initialCollections: ["components"]

  components:[
    ctype: 'controller'
    name: 'pages'
    components:[
      name: "main"
      className:"marketing-content"
      bodyTemplate: 'main'
    ,
      name: "intro"
      className:"marketing-content"
      bodyTemplate: "readme"
    ,
      name: "build"
      ctype: "builder"
    ,
      name: "docs"
      ctype: "docs_controller"
    ]
  ]

  developmentConsole: ()->
    @developmentConsole = Luca "coffeescript-console", ()->
      new Luca.tools.DevelopmentConsole(name:"coffeescript-console")

    unless @consoleContainerAppended
      container = @make("div",{id:"devtools-console-wrapper",class:"devtools-console-container modal",style:"width:1000px"}, @developmentConsole.el)
      $('body').append( container )
      @consoleContainerAppended = true
      @developmentConsole.render()

    $('#devtools-console-wrapper').modal(backdrop:false,show:true)

$ -> 
  new Sandbox.Application()

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
luca-0.9.76 assets/javascripts/sandbox/application.coffee
luca-0.9.7 assets/javascripts/sandbox/application.coffee
luca-0.9.65 assets/javascripts/sandbox/application.coffee
luca-0.9.6 assets/javascripts/sandbox/application.coffee
luca-0.9.42 assets/javascripts/sandbox/application.coffee
luca-0.9.4 assets/javascripts/sandbox/application.coffee