Update regenerator-transform (#9941)

This commit is contained in:
Nicolò Ribaudo
2019-05-07 21:42:12 +02:00
committed by Henry Zhu
parent 7942dc0f07
commit 1969e6b6aa
2 changed files with 18 additions and 14 deletions

View File

@@ -1,16 +1,20 @@
var o = {
foo:
/*#__PURE__*/
regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", "foo");
foo() {
return (
/*#__PURE__*/
regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", "foo");
case 1:
case "end":
return _context.stop();
}
}, _callee);
})()
);
}
case 1:
case "end":
return _context.stop();
}
}, _callee);
})
};