Skip to content

Instantly share code, notes, and snippets.

@geoffreyd
Forked from jaehess/core.js
Created October 26, 2010 08:35
Show Gist options
  • Select an option

  • Save geoffreyd/646546 to your computer and use it in GitHub Desktop.

Select an option

Save geoffreyd/646546 to your computer and use it in GitHub Desktop.
App = SC.Application.create(
/** @scope Chase.prototype */ {
NAMESPACE: 'App',
VERSION: '0.1.0',
// This is your application store. You will use this store to access all
// of your model data. You can also set a data source on this store to
// connect to a backend server. The default setup below connects the store
// to any fixtures you define.
store: SCUDS.NotifyingStore.create()
// TODO: Add global constants or singleton objects needed by your app here.
}) ;
App.main = function main() {
// First Thing, set our dataSources.
App.Store.from(SCUDS.NotifyingCascadeDataSource.create()
.from(SCUDS.LocalDataSource.create())
.from(App.myDataSource.create())
) ;
App.getPath('mainPage.mainPane').append() ;
} ;
function main() { Chase.main(); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment