[Lada-commits] [PATCH 44 of 56] Inherit form model.base. Formatting

Wald Commits scm-commit at wald.intevation.org
Tue Aug 13 09:54:10 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1376376864 -7200
# Node ID f56e6ee526a25015f07e30af6ef9a13423878173
# Parent  63eae13768f3c31c4b693b644af160f0c93f4f77
Inherit form model.base. Formatting

diff -r 63eae13768f3 -r f56e6ee526a2 app/model/Messwert.js
--- a/app/model/Messwert.js	Tue Aug 13 08:54:24 2013 +0200
+++ b/app/model/Messwert.js	Tue Aug 13 08:54:24 2013 +0200
@@ -2,9 +2,8 @@
  * Model class for Messwerte
  */
 Ext.define('Lada.model.Messwert', {
-    extend: 'Ext.data.Model',
-    requires: ['Lada.lib.Helpers'],
-        fields: [
+    extend: 'Lada.model.Base',
+    fields: [
         {name: "id"},
         {name: "messungsId", mapping:"id.messungsId"},
         {name: "probeId", mapping:"id.probeId"},


More information about the Lada-commits mailing list