-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.js
28 lines (23 loc) · 1.03 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// ==========================================================================
// Project: Greenhouse
// Copyright: ©2010 Mike Ball
// ==========================================================================
/*globals Greenhouse bespin*/
// 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.
//
Greenhouse.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.
Greenhouse.getPath('mainPage.mainPane').append() ;
//start the state machine
Greenhouse.targetsController.reload();
// Greenhouse.initStatechart();
} ;
function main() { Greenhouse.main(); }