0
0
mirror of https://github.com/Doodle3D/Doodle3D-API synced 2024-12-23 22:13:48 +01:00
Doodle3D-API/jspm_packages/npm/babel-runtime@5.6.20/regenerator/index.js

16 lines
531 B
JavaScript
Raw Normal View History

2015-07-15 15:06:18 +02:00
/* */
var g = typeof global === "object" ? global : typeof window === "object" ? window : typeof self === "object" ? self : this;
var hadRuntime = g.regeneratorRuntime && Object.getOwnPropertyNames(g).indexOf("regeneratorRuntime") >= 0;
var oldRuntime = hadRuntime && g.regeneratorRuntime;
g.regeneratorRuntime = undefined;
module.exports = require("./runtime");
if (hadRuntime) {
g.regeneratorRuntime = oldRuntime;
} else {
delete g.regeneratorRuntime;
}
module.exports = {
"default": module.exports,
__esModule: true
};