| 1 |
var _asyncToGenerator = require("<CWD>/packages/babel-runtime/helpers/asyncToGenerator.js"); |
| 2 |
function test() { |
| 3 |
return _test.apply(this, arguments); |
| 4 |
} |
| 5 |
function _test() { |
| 6 |
_test = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { |
| 7 |
return regeneratorRuntime.wrap(function _callee$(_context) { |
| 8 |
while (1) switch (_context.prev = _context.next) { |
| 9 |
case 0: |
| 10 |
console.log('test'); |
| 11 |
case 1: |
| 12 |
case "end": |
| 13 |
return _context.stop(); |
| 14 |
} |
| 15 |
}, _callee); |
| 16 |
})); |
| 17 |
return _test.apply(this, arguments); |
| 18 |
} |
| 19 |
function main() { |
| 20 |
return _main.apply(this, arguments); |
| 21 |
} |
| 22 |
function _main() { |
| 23 |
_main = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() { |
| 24 |
return regeneratorRuntime.wrap(function _callee2$(_context2) { |
| 25 |
while (1) switch (_context2.prev = _context2.next) { |
| 26 |
case 0: |
| 27 |
_context2.t0 = console; |
| 28 |
_context2.next = 3; |
| 29 |
return test(); |
| 30 |
case 3: |
| 31 |
_context2.t1 = _context2.sent; |
| 32 |
_context2.t0.log.call(_context2.t0, _context2.t1); |
| 33 |
case 5: |
| 34 |
case "end": |
| 35 |
return _context2.stop(); |
| 36 |
} |
| 37 |
}, _callee2); |
| 38 |
})); |
| 39 |
return _main.apply(this, arguments); |
| 40 |
} |
| 41 |
main(); |