@thewtex/vtk.js-esm
Version:
Visualization Toolkit for the Web
23 lines (18 loc) • 521 B
JavaScript
import { b as browser } from '../../lie/lib/browser.js';
/* global Promise */
// 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 = browser;
}
/**
* Let the user use/change some implementations.
*/
var external = {
Promise: ES6Promise
};
export { external as e };