view app.js @ 117:5ef91e9ac7b1

Clean up code and improve comments.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 21 Jun 2013 10:08:19 +0200
parents c4f97a5a9939
children f2579cadaee8
line wrap: on
line source
Ext.application({
    name: 'Lada',
    // Setting up translations. This is done using a ext-plgin which can be
    // found on https://github.com/elmasse/Ext.i18n.Bundle
    requires: ['Ext.i18n.Bundle'],
    bundle: {
        bundle: 'Lada',
        lang: 'de-DE',
        path: 'resources',
        noCache: true
    },
    // Setting this variable to true triggers loading the Viewport.js
    // file which sets ob the viewport.
    autoCreateViewport: true,


    // Start the application.
    launch: function() {
        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',
        'Zusatzwerte',
        'Orte',
        'Messungen'
    ]
});

http://lada.wald.intevation.org