Created
August 27, 2015 20:49
-
-
Save linus-amg/07ffa9a07316c6f0b3c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@_@