Sha256: af5d9a967e16efcb85b3eeffb7e9ea9fac2d44969e66eae36fd1f1c6fc874ba2
Contents?: true
Size: 587 Bytes
Versions: 16
Compression:
Stored size: 587 Bytes
Contents
#= require ./base class Ultimate.Backbone.App @App: null name: null Models: {} Collections: {} Routers: {} Views: {} scopes: ["Models", "Collections", "Routers", "Views"] constructor: (name = null) -> Ultimate.Backbone.debug ".App.constructor()", @ if @constructor.App throw new Error("Can't create new Ultimate.Backbone.App because the single instance has already been created"); else @constructor.App = @ @name = name _.extend @[scope], Backbone.Events for scope in @scopes _.extend Ultimate.Backbone.App::, Backbone.Events
Version data entries
16 entries across 16 versions & 1 rubygems