Sha256: d99e39c4202a2da5fdd1b93eaff0ff62b667ba228c08d00f9506426f31146983

Contents?: true

Size: 1.11 KB

Versions: 24

Compression:

Stored size: 1.11 KB

Contents

// ==========================================================================
// Project:   Docs
// Copyright: ©2009 Apple 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

24 entries across 24 versions & 2 rubygems

Version Path
sproutit-sproutcore-1.0.20090721145285 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.4.0.rc.5 lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.4.0.rc.4 lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.4.0.rc.3 lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.4.0.rc.2 lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.4.0.rc lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1049.pre.2 lib/frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1049.pre.1 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1046 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1043 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1042 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1037 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1035 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1031 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1030 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1029 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1027 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1028 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1026 frameworks/sproutcore/apps/docs/main.js
sproutcore-1.0.1025 frameworks/sproutcore/apps/docs/main.js