30 lines
1.3 KiB
JavaScript
30 lines
1.3 KiB
JavaScript
"use strict";
|
|
|
|
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"); } }
|
|
|
|
var C = function () {
|
|
function C() {
|
|
_classCallCheck(this, C);
|
|
}
|
|
|
|
_createClass(C, [{
|
|
key: "method",
|
|
value: regeneratorRuntime.mark(function method() {
|
|
var arg = arguments.length <= 0 || arguments[0] === undefined ? this : arguments[0];
|
|
return regeneratorRuntime.wrap(function method$(_context) {
|
|
while (1) {
|
|
switch (_context.prev = _context.next) {
|
|
case 0:
|
|
case "end":
|
|
return _context.stop();
|
|
}
|
|
}
|
|
}, method, this);
|
|
})
|
|
}]);
|
|
|
|
return C;
|
|
}();
|