30 lines
1.1 KiB
JavaScript
30 lines
1.1 KiB
JavaScript
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
|
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
|
|
function _one() {}
|
|
|
|
function _two() {}
|
|
|
|
let Test1 =
|
|
/*#__PURE__*/
|
|
function () {
|
|
function Test1() {
|
|
_classCallCheck(this, Test1);
|
|
}
|
|
|
|
_createClass(Test1, [{
|
|
key: "one",
|
|
value: function one() {
|
|
_two.call(_one, 1, 2);
|
|
}
|
|
}, {
|
|
key: "two",
|
|
value: function two() {
|
|
_two.call(_one, 1, 2);
|
|
}
|
|
}]);
|
|
|
|
return Test1;
|
|
}();
|