X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/jsbuilder/src/generators/app/templates/Application.js diff --git a/jsbuilder/src/generators/app/templates/Application.js b/jsbuilder/src/generators/app/templates/Application.js new file mode 100644 index 00000000..43534123 --- /dev/null +++ b/jsbuilder/src/generators/app/templates/Application.js @@ -0,0 +1,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(); + } +}); \ No newline at end of file