I have this code in Coffeescript
window.App = new Backbone.Marionette.Application
Models: {}
Collections: {}
Views: {}
Views.Layouts: {}
Routers: {}
And I'm trying to get this javascript code
window.App = new Backbone.Marionette.Application({
Models: {},
Collections: {},
Views: {},
Views.Layouts: {},
Routers: {}
});
I get this error: Error: Parse error on line 5: Unexpected '{
.in it; the others don't.