This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 27th, 2012  |  syntax: None  |  size: 0.60 KB  |  views: 28  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. App = SC.Application.create(
  2.   /** @scope Chase.prototype */ {
  3.  
  4.   NAMESPACE: 'App',
  5.   VERSION: '0.1.0',
  6.  
  7.   // This is your application store.  You will use this store to access all
  8.   // of your model data.  You can also set a data source on this store to
  9.   // connect to a backend server.  The default setup below connects the store
  10.   // to any fixtures you define.
  11.   store: SCUDS.NotifyingStore.create().from(
  12.     SCUDS.NotifyingCascadeDataSource.create()
  13.       .from('SCUDS.LocalDataSource')
  14.       .from('App.myDataSource')
  15.   )
  16.  
  17.  
  18.   // TODO: Add global constants or singleton objects needed by your app here.
  19.  
  20. }) ;
clone this paste RAW Paste Data