Skip newlines around inline #__PURE__ annotations (#11133)
* Skip newlines around #__PURE__ annotations * Update tests
This commit is contained in:
parent
3c6a8ae200
commit
d21e2217d5
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
function f() {
|
function f() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
let g =
|
let g = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref = babelHelpers.asyncToGenerator(function* () {
|
var _ref = babelHelpers.asyncToGenerator(function* () {
|
||||||
_this;
|
_this;
|
||||||
});
|
});
|
||||||
@ -19,9 +17,7 @@ class Class {
|
|||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
return babelHelpers.asyncToGenerator(function* () {
|
return babelHelpers.asyncToGenerator(function* () {
|
||||||
var c =
|
var c = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref2 = babelHelpers.asyncToGenerator(function* (b) {
|
var _ref2 = babelHelpers.asyncToGenerator(function* (b) {
|
||||||
_this2;
|
_this2;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -15,9 +15,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
_classCallCheck(this, Foo);
|
_classCallCheck(this, Foo);
|
||||||
}
|
}
|
||||||
@ -25,9 +23,7 @@ function () {
|
|||||||
_createClass(Foo, [{
|
_createClass(Foo, [{
|
||||||
key: "bar",
|
key: "bar",
|
||||||
value: function () {
|
value: function () {
|
||||||
var _bar = _asyncToGenerator(
|
var _bar = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee() {
|
|
||||||
var baz;
|
var baz;
|
||||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||||
while (1) {
|
while (1) {
|
||||||
@ -61,9 +57,7 @@ function foo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _foo() {
|
function _foo() {
|
||||||
_foo = _asyncToGenerator(
|
_foo = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee3() {
|
|
||||||
var bar, _bar2;
|
var bar, _bar2;
|
||||||
|
|
||||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||||
@ -71,9 +65,7 @@ function _foo() {
|
|||||||
switch (_context3.prev = _context3.next) {
|
switch (_context3.prev = _context3.next) {
|
||||||
case 0:
|
case 0:
|
||||||
_bar2 = function _ref2() {
|
_bar2 = function _ref2() {
|
||||||
_bar2 = _asyncToGenerator(
|
_bar2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee2() {
|
|
||||||
var baz;
|
var baz;
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Test =
|
var Test = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"column": 10
|
"column": 10
|
||||||
},
|
},
|
||||||
"generated": {
|
"generated": {
|
||||||
"line": 13,
|
"line": 11,
|
||||||
"column": 15
|
"column": 15
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
@ -9,6 +9,7 @@ import * as generatorFunctions from "./generators";
|
|||||||
const SCIENTIFIC_NOTATION = /e/i;
|
const SCIENTIFIC_NOTATION = /e/i;
|
||||||
const ZERO_DECIMAL_INTEGER = /\.0+$/;
|
const ZERO_DECIMAL_INTEGER = /\.0+$/;
|
||||||
const NON_DECIMAL_LITERAL = /^0[box]/;
|
const NON_DECIMAL_LITERAL = /^0[box]/;
|
||||||
|
const PURE_ANNOTATION_RE = /^\s*[@#]__PURE__\s*$/;
|
||||||
|
|
||||||
export type Format = {
|
export type Format = {
|
||||||
shouldPrintComment: (comment: string) => boolean,
|
shouldPrintComment: (comment: string) => boolean,
|
||||||
@ -477,7 +478,11 @@ export default class Printer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_printLeadingComments(node) {
|
_printLeadingComments(node) {
|
||||||
this._printComments(this._getComments(true, node));
|
this._printComments(
|
||||||
|
this._getComments(true, node),
|
||||||
|
// Don't add leading/trailing new lines to #__PURE__ annotations
|
||||||
|
true,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
printInnerComments(node, indent = true) {
|
printInnerComments(node, indent = true) {
|
||||||
@ -532,7 +537,7 @@ export default class Printer {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
_printComment(comment) {
|
_printComment(comment, skipNewLines?: boolean) {
|
||||||
if (!this.format.shouldPrintComment(comment.value)) return;
|
if (!this.format.shouldPrintComment(comment.value)) return;
|
||||||
|
|
||||||
// Some plugins use this to mark comments as removed using the AST-root 'comments' property,
|
// Some plugins use this to mark comments as removed using the AST-root 'comments' property,
|
||||||
@ -549,12 +554,12 @@ export default class Printer {
|
|||||||
|
|
||||||
const isBlockComment = comment.type === "CommentBlock";
|
const isBlockComment = comment.type === "CommentBlock";
|
||||||
|
|
||||||
// Always add a newline before a block comment
|
// Add a newline before and after a block comment, unless explicitly
|
||||||
this.newline(
|
// disallowed
|
||||||
this._buf.hasContent() && !this._noLineTerminator && isBlockComment
|
const printNewLines =
|
||||||
? 1
|
isBlockComment && !skipNewLines && !this._noLineTerminator;
|
||||||
: 0,
|
|
||||||
);
|
if (printNewLines && this._buf.hasContent()) this.newline(1);
|
||||||
|
|
||||||
if (!this.endsWith("[") && !this.endsWith("{")) this.space();
|
if (!this.endsWith("[") && !this.endsWith("{")) this.space();
|
||||||
|
|
||||||
@ -584,15 +589,26 @@ export default class Printer {
|
|||||||
this._append(val);
|
this._append(val);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Always add a newline after a block comment
|
if (printNewLines) this.newline(1);
|
||||||
this.newline(isBlockComment && !this._noLineTerminator ? 1 : 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_printComments(comments?: Array<Object>) {
|
_printComments(comments?: Array<Object>, inlinePureAnnotation?: boolean) {
|
||||||
if (!comments || !comments.length) return;
|
if (!comments || !comments.length) return;
|
||||||
|
|
||||||
for (const comment of comments) {
|
if (
|
||||||
this._printComment(comment);
|
inlinePureAnnotation &&
|
||||||
|
comments.length === 1 &&
|
||||||
|
PURE_ANNOTATION_RE.test(comments[0].value)
|
||||||
|
) {
|
||||||
|
this._printComment(
|
||||||
|
comments[0],
|
||||||
|
// Keep newlines if the comment marks a standalone call
|
||||||
|
this._buf.hasContent() && !this.endsWith("\n"),
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
for (const comment of comments) {
|
||||||
|
this._printComment(comment);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||||
|
|
||||||
let Foo =
|
let Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -3,9 +3,7 @@ function g() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _g() {
|
function _g() {
|
||||||
_g = babelHelpers.wrapAsyncGenerator(function* (x =
|
_g = babelHelpers.wrapAsyncGenerator(function* (x = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
yield 1;
|
yield 1;
|
||||||
})) {
|
})) {
|
||||||
yield babelHelpers.awaitAsyncGenerator(2);
|
yield babelHelpers.awaitAsyncGenerator(2);
|
||||||
|
|||||||
@ -10,9 +10,7 @@ let Hello = function Hello() {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
let Outer =
|
let Outer = /*#__PURE__*/function (_Hello) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Hello) {
|
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
let Hello =
|
let Hello = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Hello() {
|
function Hello() {
|
||||||
babelHelpers.classCallCheck(this, Hello);
|
babelHelpers.classCallCheck(this, Hello);
|
||||||
}
|
}
|
||||||
@ -16,9 +14,7 @@ function () {
|
|||||||
return Hello;
|
return Hello;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Outer =
|
let Outer = /*#__PURE__*/function (_Hello) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Hello) {
|
|
||||||
babelHelpers.inherits(Outer, _Hello);
|
babelHelpers.inherits(Outer, _Hello);
|
||||||
|
|
||||||
function Outer() {
|
function Outer() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Point =
|
var Point = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Point(x = 0, y = 0) {
|
function Point(x = 0, y = 0) {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -10,9 +10,7 @@ var Foo = function Foo() {
|
|||||||
|
|
||||||
var _prop = babelHelpers.classPrivateFieldLooseKey("prop");
|
var _prop = babelHelpers.classPrivateFieldLooseKey("prop");
|
||||||
|
|
||||||
var Bar =
|
var Bar = /*#__PURE__*/function (_Foo) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Foo) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Bar, _Foo);
|
babelHelpers.inherits(Bar, _Foo);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Child =
|
var Child = /*#__PURE__*/function (_Parent) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Parent) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
|
|||||||
@ -7,9 +7,7 @@ var Outer = function Outer() {
|
|||||||
value: void 0
|
value: void 0
|
||||||
});
|
});
|
||||||
|
|
||||||
var Test =
|
var Test = /*#__PURE__*/function (_babelHelpers$classPr) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_babelHelpers$classPr) {
|
|
||||||
babelHelpers.inherits(Test, _babelHelpers$classPr);
|
babelHelpers.inherits(Test, _babelHelpers$classPr);
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Point =
|
var Point = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Point(x = 0, y = 0) {
|
function Point(x = 0, y = 0) {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -11,9 +11,7 @@ var Foo = function Foo() {
|
|||||||
|
|
||||||
var _prop = new WeakMap();
|
var _prop = new WeakMap();
|
||||||
|
|
||||||
var Bar =
|
var Bar = /*#__PURE__*/function (_Foo) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Foo) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Bar, _Foo);
|
babelHelpers.inherits(Bar, _Foo);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Child =
|
var Child = /*#__PURE__*/function (_Parent) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Parent) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
|
|||||||
@ -8,9 +8,7 @@ var Outer = function Outer() {
|
|||||||
value: void 0
|
value: void 0
|
||||||
});
|
});
|
||||||
|
|
||||||
var Test =
|
var Test = /*#__PURE__*/function (_babelHelpers$classPr) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_babelHelpers$classPr) {
|
|
||||||
babelHelpers.inherits(Test, _babelHelpers$classPr);
|
babelHelpers.inherits(Test, _babelHelpers$classPr);
|
||||||
|
|
||||||
function Test() {
|
function Test() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var A =
|
var A = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function A() {
|
function A() {
|
||||||
@ -16,9 +14,7 @@ function () {
|
|||||||
return A;
|
return A;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
var B =
|
var B = /*#__PURE__*/function (_A) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_A) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
babelHelpers.inherits(B, _A);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -15,9 +15,7 @@ _ref3 = /regex/;
|
|||||||
_baz = baz;
|
_baz = baz;
|
||||||
_ref4 = `template${expression}`;
|
_ref4 = `template${expression}`;
|
||||||
|
|
||||||
var MyClass =
|
var MyClass = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function MyClass() {
|
function MyClass() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Child =
|
var Child = /*#__PURE__*/function (_Parent) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Parent) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
export default (param => {
|
export default (param => {
|
||||||
var _class, _temp;
|
var _class, _temp;
|
||||||
|
|
||||||
return _temp = _class =
|
return _temp = _class = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function App() {
|
function App() {
|
||||||
babelHelpers.classCallCheck(this, App);
|
babelHelpers.classCallCheck(this, App);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
function withContext(ComposedComponent) {
|
function withContext(ComposedComponent) {
|
||||||
var _class, _temp;
|
var _class, _temp;
|
||||||
|
|
||||||
return _temp = _class =
|
return _temp = _class = /*#__PURE__*/function (_Component) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Component) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
|
|||||||
@ -2,9 +2,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -15,9 +13,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this2);
|
console.log(_this2);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -28,9 +24,7 @@ export default class MyClass3 {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this3);
|
console.log(_this3);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,9 +6,7 @@ var A = function A() {
|
|||||||
|
|
||||||
A.prop = 1;
|
A.prop = 1;
|
||||||
|
|
||||||
var B =
|
var B = /*#__PURE__*/function (_A) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_A) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
babelHelpers.inherits(B, _A);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var A =
|
var A = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function A() {
|
function A() {
|
||||||
@ -16,9 +14,7 @@ function () {
|
|||||||
return A;
|
return A;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
var B =
|
var B = /*#__PURE__*/function (_A) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_A) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
babelHelpers.inherits(B, _A);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -3,9 +3,7 @@ var createClass = k => {
|
|||||||
|
|
||||||
var _k;
|
var _k;
|
||||||
|
|
||||||
return _temp = (_k = k(),
|
return _temp = (_k = k(), /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function _class2() {
|
function _class2() {
|
||||||
|
|||||||
@ -15,9 +15,7 @@ _ref3 = /regex/;
|
|||||||
_baz = baz;
|
_baz = baz;
|
||||||
_ref4 = `template${expression}`;
|
_ref4 = `template${expression}`;
|
||||||
|
|
||||||
var MyClass =
|
var MyClass = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function MyClass() {
|
function MyClass() {
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Child =
|
var Child = /*#__PURE__*/function (_Parent) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Parent) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Child, _Parent);
|
babelHelpers.inherits(Child, _Parent);
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
export default (param => {
|
export default (param => {
|
||||||
var _class, _temp;
|
var _class, _temp;
|
||||||
|
|
||||||
return _temp = _class =
|
return _temp = _class = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function App() {
|
function App() {
|
||||||
babelHelpers.classCallCheck(this, App);
|
babelHelpers.classCallCheck(this, App);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
function withContext(ComposedComponent) {
|
function withContext(ComposedComponent) {
|
||||||
var _class, _temp;
|
var _class, _temp;
|
||||||
|
|
||||||
return _temp = _class =
|
return _temp = _class = /*#__PURE__*/function (_Component) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Component) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
|
|||||||
@ -2,9 +2,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
babelHelpers.defineProperty(this, "myAsyncMethod",
|
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
@ -15,9 +13,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
babelHelpers.defineProperty(this, "myAsyncMethod",
|
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this2);
|
console.log(_this2);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
@ -28,9 +24,7 @@ export default class MyClass3 {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
babelHelpers.defineProperty(this, "myAsyncMethod",
|
babelHelpers.defineProperty(this, "myAsyncMethod", /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this3);
|
console.log(_this3);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,9 +6,7 @@ var A = function A() {
|
|||||||
|
|
||||||
babelHelpers.defineProperty(A, "prop", 1);
|
babelHelpers.defineProperty(A, "prop", 1);
|
||||||
|
|
||||||
var B =
|
var B = /*#__PURE__*/function (_A) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_A) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
babelHelpers.inherits(B, _A);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var A =
|
var A = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function A() {
|
function A() {
|
||||||
@ -16,9 +14,7 @@ function () {
|
|||||||
return A;
|
return A;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
var B =
|
var B = /*#__PURE__*/function (_A) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_A) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(B, _A);
|
babelHelpers.inherits(B, _A);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function (_Bar) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Bar) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(Foo, _Bar);
|
babelHelpers.inherits(Foo, _Bar);
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var Foo =
|
var Foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Foo() {
|
function Foo() {
|
||||||
|
|||||||
@ -23,9 +23,7 @@ var Test = function Test() {
|
|||||||
|
|
||||||
_classCallCheck(this, Test);
|
_classCallCheck(this, Test);
|
||||||
|
|
||||||
var Other =
|
var Other = /*#__PURE__*/function (_Test) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Test) {
|
|
||||||
_inherits(Other, _Test);
|
_inherits(Other, _Test);
|
||||||
|
|
||||||
function Other() {
|
function Other() {
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
function withContext(ComposedComponent) {
|
function withContext(ComposedComponent) {
|
||||||
var _class, _temp;
|
var _class, _temp;
|
||||||
|
|
||||||
return _temp = _class =
|
return _temp = _class = /*#__PURE__*/function (_Component) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Component) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(WithContext, _Component);
|
babelHelpers.inherits(WithContext, _Component);
|
||||||
|
|||||||
@ -2,9 +2,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -15,9 +13,7 @@ class MyClass {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this2 = this;
|
var _this2 = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this2);
|
console.log(_this2);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -28,9 +24,7 @@ export default class MyClass3 {
|
|||||||
constructor() {
|
constructor() {
|
||||||
var _this3 = this;
|
var _this3 = this;
|
||||||
|
|
||||||
this.myAsyncMethod =
|
this.myAsyncMethod = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this3);
|
console.log(_this3);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,9 +16,7 @@ function _initializerWarningHelper(descriptor, context) { throw new Error('Decor
|
|||||||
|
|
||||||
function dec() {}
|
function dec() {}
|
||||||
|
|
||||||
let A = (_class = (_temp = (_Symbol$search = Symbol.search,
|
let A = (_class = (_temp = (_Symbol$search = Symbol.search, /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function A() {
|
function A() {
|
||||||
|
|||||||
@ -25,9 +25,7 @@ function generateAsyncAction(type) {
|
|||||||
return request;
|
return request;
|
||||||
}
|
}
|
||||||
|
|
||||||
var A =
|
var A = /*#__PURE__*/function (_B) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_B) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(A, _B);
|
_inherits(A, _B);
|
||||||
|
|||||||
@ -8,9 +8,7 @@ function _one() {}
|
|||||||
|
|
||||||
function _two() {}
|
function _two() {}
|
||||||
|
|
||||||
let Test1 =
|
let Test1 = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function Test1() {
|
function Test1() {
|
||||||
|
|||||||
@ -4,9 +4,7 @@ let TestClass = {
|
|||||||
testMethodFailure() {
|
testMethodFailure() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
return new Promise(
|
return new Promise( /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref = babelHelpers.asyncToGenerator(function* (resolve) {
|
var _ref = babelHelpers.asyncToGenerator(function* (resolve) {
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
setTimeout(resolve, 1000);
|
setTimeout(resolve, 1000);
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||||
while (1) switch (_context.prev = _context.next) {
|
while (1) switch (_context.prev = _context.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -15,9 +13,7 @@ regeneratorRuntime.mark(function _callee() {
|
|||||||
}
|
}
|
||||||
}, _callee);
|
}, _callee);
|
||||||
}))();
|
}))();
|
||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee2() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) switch (_context2.prev = _context2.next) {
|
while (1) switch (_context2.prev = _context2.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -34,9 +30,7 @@ regeneratorRuntime.mark(function _callee2() {
|
|||||||
|
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
(function () {
|
(function () {
|
||||||
var _notIIFE = babelHelpers.asyncToGenerator(
|
var _notIIFE = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee3() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||||
while (1) switch (_context3.prev = _context3.next) {
|
while (1) switch (_context3.prev = _context3.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -58,9 +52,7 @@ regeneratorRuntime.mark(function _callee2() {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee4() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||||
while (1) switch (_context4.prev = _context4.next) {
|
while (1) switch (_context4.prev = _context4.next) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||||
while (1) switch (_context.prev = _context.next) {
|
while (1) switch (_context.prev = _context.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -13,9 +11,7 @@ regeneratorRuntime.mark(function _callee() {
|
|||||||
}
|
}
|
||||||
}, _callee);
|
}, _callee);
|
||||||
}))();
|
}))();
|
||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee2() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) switch (_context2.prev = _context2.next) {
|
while (1) switch (_context2.prev = _context2.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -31,9 +27,7 @@ regeneratorRuntime.mark(function _callee2() {
|
|||||||
|
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
(function () {
|
(function () {
|
||||||
var _notIIFE = babelHelpers.asyncToGenerator(
|
var _notIIFE = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee3() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
||||||
while (1) switch (_context3.prev = _context3.next) {
|
while (1) switch (_context3.prev = _context3.next) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -55,9 +49,7 @@ regeneratorRuntime.mark(function _callee2() {
|
|||||||
})();
|
})();
|
||||||
|
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
babelHelpers.asyncToGenerator(
|
babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee4() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
return regeneratorRuntime.wrap(function _callee4$(_context4) {
|
||||||
while (1) switch (_context4.prev = _context4.next) {
|
while (1) switch (_context4.prev = _context4.next) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|||||||
@ -11,13 +11,9 @@ function _s() {
|
|||||||
args[_key - 1] = arguments[_key];
|
args[_key - 1] = arguments[_key];
|
||||||
}
|
}
|
||||||
|
|
||||||
let t =
|
let t = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref = babelHelpers.asyncToGenerator(function* (y, a) {
|
var _ref = babelHelpers.asyncToGenerator(function* (y, a) {
|
||||||
let r =
|
let r = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref2 = babelHelpers.asyncToGenerator(function* (z, b) {
|
var _ref2 = babelHelpers.asyncToGenerator(function* (z, b) {
|
||||||
yield z;
|
yield z;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var foo =
|
var foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref = babelHelpers.asyncToGenerator(function* () {
|
var _ref = babelHelpers.asyncToGenerator(function* () {
|
||||||
var wat = yield bar();
|
var wat = yield bar();
|
||||||
});
|
});
|
||||||
@ -10,9 +8,7 @@ function () {
|
|||||||
};
|
};
|
||||||
}();
|
}();
|
||||||
|
|
||||||
var foo2 =
|
var foo2 = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref2 = babelHelpers.asyncToGenerator(function* () {
|
var _ref2 = babelHelpers.asyncToGenerator(function* () {
|
||||||
var wat = yield bar();
|
var wat = yield bar();
|
||||||
});
|
});
|
||||||
@ -21,9 +17,7 @@ function () {
|
|||||||
return _ref2.apply(this, arguments);
|
return _ref2.apply(this, arguments);
|
||||||
};
|
};
|
||||||
}(),
|
}(),
|
||||||
bar =
|
bar = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref3 = babelHelpers.asyncToGenerator(function* () {
|
var _ref3 = babelHelpers.asyncToGenerator(function* () {
|
||||||
var wat = yield foo();
|
var wat = yield foo();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
var foo =
|
var foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _bar = babelHelpers.asyncToGenerator(function* () {
|
var _bar = babelHelpers.asyncToGenerator(function* () {
|
||||||
console.log(bar);
|
console.log(bar);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,3 +1 @@
|
|||||||
foo(
|
foo( /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {}));
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {}));
|
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
var _coroutine = require("bluebird").coroutine;
|
var _coroutine = require("bluebird").coroutine;
|
||||||
|
|
||||||
var foo =
|
var foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref = _coroutine(function* () {
|
var _ref = _coroutine(function* () {
|
||||||
var wat = yield bar();
|
var wat = yield bar();
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,8 +1,6 @@
|
|||||||
var _coroutine = require("bluebird").coroutine;
|
var _coroutine = require("bluebird").coroutine;
|
||||||
|
|
||||||
var foo =
|
var foo = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _bar = _coroutine(function* () {
|
var _bar = _coroutine(function* () {
|
||||||
console.log(bar);
|
console.log(bar);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|||||||
});
|
});
|
||||||
exports.default = void 0;
|
exports.default = void 0;
|
||||||
|
|
||||||
var _default =
|
var _default = /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
return yield foo();
|
return yield foo();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,7 @@ function action() {
|
|||||||
return _action.apply(this, arguments);
|
return _action.apply(this, arguments);
|
||||||
}
|
}
|
||||||
|
|
||||||
var _ref =
|
var _ref = /*#__PURE__*/React.createElement(Contact, {
|
||||||
/*#__PURE__*/
|
|
||||||
React.createElement(Contact, {
|
|
||||||
title: title
|
title: title
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,7 @@ class Test {
|
|||||||
|
|
||||||
return babelHelpers.asyncToGenerator(function* () {
|
return babelHelpers.asyncToGenerator(function* () {
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
setTimeout(
|
setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this);
|
console.log(_this);
|
||||||
}));
|
}));
|
||||||
})();
|
})();
|
||||||
@ -17,9 +15,7 @@ class Test {
|
|||||||
|
|
||||||
return babelHelpers.asyncToGenerator(function* () {
|
return babelHelpers.asyncToGenerator(function* () {
|
||||||
console.log(_this2);
|
console.log(_this2);
|
||||||
setTimeout(
|
setTimeout( /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref2 = babelHelpers.asyncToGenerator(function* (arg) {
|
var _ref2 = babelHelpers.asyncToGenerator(function* (arg) {
|
||||||
console.log(_this2);
|
console.log(_this2);
|
||||||
});
|
});
|
||||||
@ -36,9 +32,7 @@ class Test {
|
|||||||
|
|
||||||
return babelHelpers.asyncToGenerator(function* () {
|
return babelHelpers.asyncToGenerator(function* () {
|
||||||
console.log(_this3);
|
console.log(_this3);
|
||||||
setTimeout(
|
setTimeout( /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
console.log(_this3);
|
console.log(_this3);
|
||||||
}));
|
}));
|
||||||
})();
|
})();
|
||||||
@ -49,9 +43,7 @@ class Test {
|
|||||||
|
|
||||||
return babelHelpers.asyncToGenerator(function* () {
|
return babelHelpers.asyncToGenerator(function* () {
|
||||||
console.log(_this4);
|
console.log(_this4);
|
||||||
setTimeout(
|
setTimeout( /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
var _ref4 = babelHelpers.asyncToGenerator(function* (arg) {
|
var _ref4 = babelHelpers.asyncToGenerator(function* (arg) {
|
||||||
console.log(_this4);
|
console.log(_this4);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
function f() {
|
function f() {
|
||||||
g(
|
g( /*#__PURE__*/babelHelpers.asyncToGenerator(function* () {
|
||||||
/*#__PURE__*/
|
|
||||||
babelHelpers.asyncToGenerator(function* () {
|
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
|
||||||
c(function () {
|
c(function () {
|
||||||
|
|||||||
@ -3,17 +3,13 @@ function foo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _foo() {
|
function _foo() {
|
||||||
_foo = babelHelpers.asyncToGenerator(
|
_foo = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee2() {
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) switch (_context2.prev = _context2.next) {
|
while (1) switch (_context2.prev = _context2.next) {
|
||||||
case 0:
|
case 0:
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
(function () {
|
(function () {
|
||||||
var _ref = babelHelpers.asyncToGenerator(
|
var _ref = babelHelpers.asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(number) {
|
||||||
/*#__PURE__*/
|
|
||||||
regeneratorRuntime.mark(function _callee(number) {
|
|
||||||
var tmp;
|
var tmp;
|
||||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||||
while (1) switch (_context.prev = _context.next) {
|
while (1) switch (_context.prev = _context.next) {
|
||||||
|
|||||||
@ -12,9 +12,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
var List =
|
var List = /*#__PURE__*/function (_Array) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Array) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inheritsLoose(List, _Array);
|
_inheritsLoose(List, _Array);
|
||||||
|
|||||||
@ -4,9 +4,7 @@ let Array = function Array() {
|
|||||||
babelHelpers.classCallCheck(this, Array);
|
babelHelpers.classCallCheck(this, Array);
|
||||||
};
|
};
|
||||||
|
|
||||||
let List =
|
let List = /*#__PURE__*/function (_Array) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Array) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
babelHelpers.inherits(List, _Array);
|
babelHelpers.inherits(List, _Array);
|
||||||
|
|||||||
@ -18,9 +18,7 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || func
|
|||||||
|
|
||||||
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
||||||
|
|
||||||
var List =
|
var List = /*#__PURE__*/function (_Array) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Array) {
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
_inherits(List, _Array);
|
_inherits(List, _Array);
|
||||||
|
|||||||
@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
var _proto = Base.prototype;
|
var _proto = Base.prototype;
|
||||||
@ -18,9 +16,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -28,9 +26,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|||||||
|
|
||||||
let Base = function Base() {};
|
let Base = function Base() {};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -21,9 +19,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -6,9 +6,7 @@ let Base = function Base() {};
|
|||||||
|
|
||||||
Base.prototype.test = 1;
|
Base.prototype.test = 1;
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -24,9 +22,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|||||||
|
|
||||||
let Base = function Base() {};
|
let Base = function Base() {};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -6,9 +6,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -21,9 +19,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -22,9 +22,7 @@ const proper = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -22,9 +22,7 @@ const proper = {
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -10,9 +10,7 @@ Object.defineProperty(Base.prototype, 'test', {
|
|||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -8,9 +8,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|||||||
|
|
||||||
let called = false;
|
let called = false;
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -26,9 +24,7 @@ function () {
|
|||||||
|
|
||||||
;
|
;
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|||||||
|
|
||||||
let Base = function Base() {};
|
let Base = function Base() {};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -10,9 +10,7 @@ let Base = function Base() {};
|
|||||||
|
|
||||||
let called = false;
|
let called = false;
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -4,9 +4,7 @@ function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.crea
|
|||||||
|
|
||||||
let Base = function Base() {};
|
let Base = function Base() {};
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -10,9 +10,7 @@ let Base = function Base() {};
|
|||||||
|
|
||||||
let value = 2;
|
let value = 2;
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -8,9 +8,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|||||||
|
|
||||||
let value = 1;
|
let value = 1;
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {}
|
function Base() {}
|
||||||
|
|
||||||
_createClass(Base, [{
|
_createClass(Base, [{
|
||||||
@ -23,9 +21,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inheritsLoose(Obj, _Base);
|
_inheritsLoose(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {
|
function Base() {
|
||||||
_classCallCheck(this, Base);
|
_classCallCheck(this, Base);
|
||||||
}
|
}
|
||||||
@ -39,9 +37,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inherits(Obj, _Base);
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
@ -20,9 +20,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|||||||
|
|
||||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||||
|
|
||||||
let Base =
|
let Base = /*#__PURE__*/function () {
|
||||||
/*#__PURE__*/
|
|
||||||
function () {
|
|
||||||
function Base() {
|
function Base() {
|
||||||
_classCallCheck(this, Base);
|
_classCallCheck(this, Base);
|
||||||
}
|
}
|
||||||
@ -42,9 +40,7 @@ function () {
|
|||||||
return Base;
|
return Base;
|
||||||
}();
|
}();
|
||||||
|
|
||||||
let Obj =
|
let Obj = /*#__PURE__*/function (_Base) {
|
||||||
/*#__PURE__*/
|
|
||||||
function (_Base) {
|
|
||||||
_inherits(Obj, _Base);
|
_inherits(Obj, _Base);
|
||||||
|
|
||||||
function Obj() {
|
function Obj() {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user