Sha256: e48e2f59c3c75641683bba9be1ce67ea62389a5f33896ddd20bb9468d1c1ed9e

Contents?: true

Size: 1.08 KB

Versions: 11

Compression:

Stored size: 1.08 KB

Contents

// ==========================================================================
// Project:   Showcase
// Copyright: ©2012 7x7 Software, Inc.
// License:   Licensed under MIT license
// ==========================================================================
/*globals Showcase */

// 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.
//
Showcase.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.
  Showcase.getPath('mainPage.mainPane').append();

  Showcase.sourceTreeController.set('content', Showcase.sources);

  SC.routes.add(':section/:key', Showcase, Showcase.route);
};

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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.11.0.rc3 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.11.0.rc2 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.11.0.rc1 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.3.1 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.2 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.1 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.0 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.0.rc.3 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.0.rc.2 lib/frameworks/sproutcore/apps/showcase/main.js
sproutcore-1.10.0.rc.1 lib/frameworks/sproutcore/apps/showcase/main.js