Sha256: 79f773b72153b71f3223eb9c121b12e0a0fd32665612b92446bd288d37c60646
Contents?: true
Size: 1.12 KB
Versions: 9
Compression:
Stored size: 1.12 KB
Contents
// ========================================================================== // Project: Docs // Copyright: ©2009 My Company, Inc. // ========================================================================== /*globals Docs */ // This is the function that will start your app running. The default // implementation will load any fixtures you have created then instantiate // your controllers and awake the elements on your page. // // As you develop your application you will probably want to override this. // See comments for some pointers on what to do next. // Docs.main = function main() { // Step 1: Instantiate Your Views // The default code here will make the mainPane for your application visible // on screen. If you app gets any level of complexity, you will probably // create multiple pages and panes. Docs.getPath('mainPage.mainPane').append() ; // Step 2. Set the content property on your primary controller. // This will make your app come alive! // TODO: Set the content property on your primary controller // ex: .contactsController.set('content',.contacts); } ; function main() { Docs.main(); }
Version data entries
9 entries across 9 versions & 1 rubygems