Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (11 sloc) 368 Bytes
App or= {}
App.EventRouter = Backbone.Router.extend
routes:
"" : "index"
index: ->
@occasionListView = new App.OccasionListView
collection: window.occasionCollection or= new App.OccasionsCollection()
@occasionListView.render()
if $('#map').length > 0
@mapView = new App.MapView(App.MapProviders.Leaflet)
@mapView.render()