Blame view

js/lib/JSBuilder/src/generators/app/templates/Application.js 405 Bytes
16035364   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * This file sets application-wide settings and launches the application when everything has
 * been loaded onto the page. By default we just render the application\s Viewport inside the
 * launch method (see app/views/Viewport.js).
 */ 
{name} = new Ext.Application({
    defaultTarget: "viewport",
    name: "{name}",
    launch: function() {
        this.viewport = new {name}.Viewport();
    }
});