main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
448 bytes
|
Rev | Line | |
---|
[d565449] | 1 | // TODO(Babel 8): Remove this file.
|
---|
| 2 |
|
---|
| 3 | var runtime = require("../helpers/regeneratorRuntime")();
|
---|
| 4 | module.exports = runtime;
|
---|
| 5 |
|
---|
| 6 | // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
|
---|
| 7 | try {
|
---|
| 8 | regeneratorRuntime = runtime;
|
---|
| 9 | } catch (accidentalStrictMode) {
|
---|
| 10 | if (typeof globalThis === "object") {
|
---|
| 11 | globalThis.regeneratorRuntime = runtime;
|
---|
| 12 | } else {
|
---|
| 13 | Function("r", "regeneratorRuntime = r")(runtime);
|
---|
| 14 | }
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.