Mercurial > lada > lada-client
view app.js @ 73:7661f09466cc
Added i18n extension. Note: This extension must be installed. See https://github.com/elmasse/Ext.i18n.Bundle/wiki/HowTo
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 05 Jun 2013 18:03:10 +0200 |
parents | 3c7bfff8bd64 |
children | 6c69bbb61c65 |
line wrap: on
line source
Ext.application({ name: 'Lada', // Setting this variable to true should trigger loading the Viewport.js // file which sets ob the viewport. But this does not happen. requires: ['Ext.i18n.Bundle'], bundle: { bundle: 'Lada', lang: 'de-DE', path: 'resources', noCache: true }, autoCreateViewport: true, launch: function() { // Start the application. console.log('Launching the application'); }, // Define the controllers of the application. They will be initialized // first before the application "launch" function is called. controllers: [ 'Proben', 'Kommentare', 'Sql' ] });