Sha256: 34be82c71a4cbfca7aea06a9f6f8e9e770ea1d4f71f41b5f2e8c43fb5e715dd8

Contents?: true

Size: 642 Bytes

Versions: 12

Compression:

Stored size: 642 Bytes

Contents

<%= copyright_block(namespace) %>
/*globals <%= namespace %> */

// 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.
//
<%= namespace %>.main = function main() {
  var statechart = <%= namespace %>.statechart;

  SC.RootResponder.responder.set('defaultResponder', statechart);
  statechart.initStatechart();
};


function main() { <%= namespace %>.main(); }

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sproutcore-1.11.0 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.11.0.rc3 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.11.0.rc2 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.11.0.rc1 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.3.1 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.2 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.1 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.0 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.0.rc.3 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.0.rc.2 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.10.0.rc.1 lib/gen/statechart_app/templates/apps/@target_name@/main.js
sproutcore-1.9.2 lib/gen/statechart_app/templates/apps/@target_name@/main.js