changeset 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 88922e579002
children f2579cadaee8
files app.js
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/app.js	Thu Jun 20 15:51:54 2013 +0200
+++ b/app.js	Fri Jun 21 10:08:19 2013 +0200
@@ -1,7 +1,7 @@
 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.
+    // 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',
@@ -9,11 +9,16 @@
         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() {
-        // 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: [
@@ -23,6 +28,5 @@
         'Zusatzwerte',
         'Orte',
         'Messungen'
-
     ]
 });

http://lada.wald.intevation.org