diff app/model/Zusatzwert.js @ 497:7c0653e8d9f7

Fixed some js related issues (unused vars, arrays, etc.) and code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 06 Nov 2014 10:38:17 +0100
parents d07e5086a64b
children 8b4ec61c5752
line wrap: on
line diff
--- a/app/model/Zusatzwert.js	Thu Nov 06 10:35:35 2014 +0100
+++ b/app/model/Zusatzwert.js	Thu Nov 06 10:38:17 2014 +0100
@@ -3,7 +3,7 @@
  *
  * This file is Free Software under the GNU GPL (v>=3)
  * and comes with ABSOLUTELY NO WARRANTY! Check out
- * the documentation coming with IMIS-Labordaten-Application for details. 
+ * the documentation coming with IMIS-Labordaten-Application for details.
  */
 
 /**
@@ -13,28 +13,28 @@
     extend: 'Lada.model.Base',
 
     fields: [{
-        name: "id"
+        name: 'id'
     }, {
-        name: "probeId"
+        name: 'probeId'
     }, {
-        name: "pzsId"
+        name: 'pzsId'
     }, {
-        name: "nwgZuMesswert",
+        name: 'nwgZuMesswert',
         type: 'float'
     }, {
-        name: "messwertPzs",
+        name: 'messwertPzs',
         type: 'float'
     }, {
-        name: "messfehler",
+        name: 'messfehler',
         type: 'float'
     }, {
-        name: "letzteAenderung",
+        name: 'letzteAenderung',
         type: 'date',
         convert: Lada.lib.Helpers.ts2date,
         defaultValue: new Date()
     }],
 
-    idProperty: "id",
+    idProperty: 'id',
 
     proxy: {
         type: 'rest',
@@ -46,8 +46,8 @@
         writer: {
             type: 'json',
             // TODO: Check if this function is really needed (torsten)
-            // <2013-09-18 15:58> 
-            writeEverything : true
+            // <2013-09-18 15:58>
+            writeEverything: true
         }
     },
 

http://lada.wald.intevation.org