Sha256: a547e0bb8d160ec84800b4694ff0b03fefdf7a3790c9007ba4bbfcef8982db25
Contents?: true
Size: 374 Bytes
Versions: 4
Compression:
Stored size: 374 Bytes
Contents
Class = new Marionette.Application() #Add application regions here Class.addRegions {} #Navigate to specific route Class.navigate = (route, options) -> options or (options = {}) Backbone.history.navigate route, options #Returns current route Class.getCurrentRoute = -> Backbone.history.fragment Class.on "initialize:after", -> #Things to do after app initialize
Version data entries
4 entries across 2 versions & 1 rubygems