[Lada-commits] [PATCH 41 of 56] Inherit from model.Base

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


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1376376421 -7200
# Node ID 4c4f03c87d49a0559ecbe64ba993c6cfe92ab66e
# Parent  7f5f74e62658acec907d7b532f31c8c04bcfed01
Inherit from model.Base

diff -r 7f5f74e62658 -r 4c4f03c87d49 app/model/Probe.js
--- a/app/model/Probe.js	Tue Aug 13 08:46:47 2013 +0200
+++ b/app/model/Probe.js	Tue Aug 13 08:47:01 2013 +0200
@@ -3,8 +3,7 @@
  * This class represents and defines the model of a "Probe"
  * */
 Ext.define('Lada.model.Probe', {
-    extend: 'Ext.data.Model',
-    requires: ['Lada.lib.Helpers'],
+    extend: 'Lada.model.Base',
     fields: [
         {name: "probeId"},
         {name: "baId"},


More information about the Lada-commits mailing list