Skip to content

Instantly share code, notes, and snippets.

@geoffreyd
Created October 26, 2010 07:20
Show Gist options
  • Select an option

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

Select an option

Save geoffreyd/646466 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().from(
SCUDS.NotifyingCascadeDataSource.create()
.from('SCUDS.LocalDataSource')
.from('App.myDataSource')
)
// TODO: Add global constants or singleton objects needed by your app here.
}) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment