我在 Coffeescript 中有这段代码
window.App = new Backbone.Marionette.Application
Models: {}
Collections: {}
Views: {}
Views.Layouts: {}
Routers: {}
我正在尝试获取此 javascript 代码
window.App = new Backbone.Marionette.Application({
Models: {},
Collections: {},
Views: {},
Views.Layouts: {},
Routers: {}
});
我收到此错误:错误:第 5 行解析错误:意外'{