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

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


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

diff -r 702bf882f5a8 -r 63eae13768f3 app/model/Messung.js
--- a/app/model/Messung.js	Tue Aug 13 08:54:24 2013 +0200
+++ b/app/model/Messung.js	Tue Aug 13 08:54:24 2013 +0200
@@ -2,9 +2,8 @@
  * Model class for Messungen
  */
 Ext.define('Lada.model.Messung', {
-    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