@byteluck-fe/model-driven-core-all 2.5.0-alpha.9 → 2.6.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,19 +23,6 @@ function _createClass(Constructor, protoProps, staticProps) {
23
23
  if (staticProps) _defineProperties(Constructor, staticProps);
24
24
  return Constructor;
25
25
  }
26
- function _defineProperty(obj, key, value) {
27
- if (key in obj) {
28
- Object.defineProperty(obj, key, {
29
- value: value,
30
- enumerable: true,
31
- configurable: true,
32
- writable: true
33
- });
34
- } else {
35
- obj[key] = value;
36
- }
37
- return obj;
38
- }
39
26
  function _getPrototypeOf(o) {
40
27
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
41
28
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -111,7 +98,7 @@ export function getHackerControl(comid, type, tipMessage) {
111
98
  _classCallCheck(this, HackerControl);
112
99
  var _this;
113
100
  _this = _super.call(this, props);
114
- _defineProperty(_assertThisInitialized(_this), "props", {});
101
+ _this.props = {};
115
102
  return _this;
116
103
  }
117
104
  _createClass(HackerControl, null, [
@@ -133,7 +120,7 @@ export function getHackerControl(comid, type, tipMessage) {
133
120
  _classCallCheck(this, HackerControl);
134
121
  var _this;
135
122
  _this = _super.call(this, props);
136
- _defineProperty(_assertThisInitialized(_this), "props", {});
123
+ _this.props = {};
137
124
  return _this;
138
125
  }
139
126
  _createClass(HackerControl, null, [