swc/crates/swc_bundler/tests/.cache/untrusted/6d83538dd19f259aed62b64200c4de05456ae710.ts
2021-11-09 20:42:49 +09:00

29 lines
701 B
TypeScript

// Loaded from https://dev.jspm.io/npm:jszip@3.5.0/lib/external.dew.js
import { dew as _npmLieDew } from "/npm:lie@3.3?dew";
var exports = {},
_dewExec = false;
export function dew() {
if (_dewExec) return exports;
_dewExec = true;
// load the global object first:
// - it should be better integrated in the system (unhandledRejection in node)
// - the environment may have a custom Promise implementation (see zone.js)
var ES6Promise = null;
if (typeof Promise !== "undefined") {
ES6Promise = Promise;
} else {
ES6Promise = _npmLieDew();
}
/**
* Let the user use/change some implementations.
*/
exports = {
Promise: ES6Promise
};
return exports;
}