Fixed regenerator related fixtures

This commit is contained in:
Mateusz Burzyński
2017-08-16 00:50:31 +02:00
parent e08ff8e650
commit fffa604023
8 changed files with 32 additions and 14 deletions

View File

@@ -7,7 +7,9 @@ var Example = function () {
await Promise.resolve(2);
};
Example.prototype.test2 = regeneratorRuntime.mark(function test2() {
Example.prototype.test2 =
/*#__PURE__*/
regeneratorRuntime.mark(function test2() {
return regeneratorRuntime.wrap(function test2$(_context) {
while (1) {
switch (_context.prev = _context.next) {