Skip to content

Instantly share code, notes, and snippets.

@linus-amg
Created August 27, 2015 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linus-amg/07ffa9a07316c6f0b3c1 to your computer and use it in GitHub Desktop.
Save linus-amg/07ffa9a07316c6f0b3c1 to your computer and use it in GitHub Desktop.
window.App = new Marionette.Application
initialize: ->
@layout = new Layout()
onStart: ->
@layout.render()
@region = @layout.getRegion('main')
onStop: (options) ->
@region.empty()
stop: (options) ->
if @onStop
@onStop(options)
@linus-amg
Copy link
Author

@_@

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment