[Lada-commits] [PATCH 3 of 5] Fixed indention and constructor call

Wald Commits scm-commit at wald.intevation.org
Wed Mar 11 13:13:55 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1426075964 -3600
# Node ID 8ed6c3fb8bda6f279a977cc291457f5cf0486789
# Parent  54545b3ae294461441e6dc719e19a7e50caf325b
Fixed indention and constructor call.

diff -r 54545b3ae294 -r 8ed6c3fb8bda app/model/Messung.js
--- a/app/model/Messung.js	Wed Mar 11 13:11:15 2015 +0100
+++ b/app/model/Messung.js	Wed Mar 11 13:12:44 2015 +0100
@@ -26,7 +26,7 @@
         name: 'messzeitpunkt',
         convert: function(v) {
             if (!v) {
-               return new Date();
+                return new Date();
             }
             return new Date(v);
         },
@@ -39,7 +39,7 @@
         type: 'date',
         convert: function(v) {
             if (!v) {
-                return new Date;
+                return new Date();
             }
             return new Date(v);
         },


More information about the Lada-commits mailing list