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