From 4c8284e0fcbc180e9c07afd288f4a56bc25b2079 Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 22 Aug 2017 16:20:21 +0800 Subject: [PATCH] add --- bi/core.js | 3 --- docs/core.js | 3 --- src/core/shortcut.js | 3 --- 3 files changed, 9 deletions(-) diff --git a/bi/core.js b/bi/core.js index ab4d1a5eb6..05effe0c28 100644 --- a/bi/core.js +++ b/bi/core.js @@ -5837,9 +5837,6 @@ BI.View = BI.inherit(BI.V, { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget diff --git a/docs/core.js b/docs/core.js index cf66ba0afa..d7b40882d9 100644 --- a/docs/core.js +++ b/docs/core.js @@ -15833,9 +15833,6 @@ BI.View = BI.inherit(BI.V, { throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget diff --git a/src/core/shortcut.js b/src/core/shortcut.js index bd8841c9cb..4bd757575f 100644 --- a/src/core/shortcut.js +++ b/src/core/shortcut.js @@ -6,9 +6,6 @@ throw ("shortcut:[" + xtype + "] has been registed"); } kv[xtype] = cls; - _.extend(cls.prototype, { - xtype: xtype - }) }; // 根据配置属性生成widget