Sha256: 870ff954bcb5470e89a35d3f3fb207ddcb00e127669cc85fa2237780182e9666

Contents?: true

Size: 1.17 KB

Versions: 43

Compression:

Stored size: 1.17 KB

Contents

// ==========================================================================
// Project:   ChanceTest
// Copyright: ©2011 My Company, Inc.
// ==========================================================================
/*globals ChanceTest */

// 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.
//
ChanceTest.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.  
  ChanceTest.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: ChanceTest.contactsController.set('content',ChanceTest.contacts);

} ;

function main() { ChanceTest.main(); }

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
sproutcore-1.11.0 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.11.0.rc3 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.11.0.rc2 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.11.0.rc1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.3.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.2 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.0 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.0.rc.3 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.0.rc.2 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.10.0.rc.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.9.2 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.9.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.9.0 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.8.2.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.8.1 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.8.0 spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.7.1.beta-java spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.7.1.beta spec/fixtures/builder_tests/apps/chance_test/main.js
sproutcore-1.6.0.1-java spec/fixtures/builder_tests/apps/chance_test/main.js