@thewtex/vtk.js-esm
Version:
Visualization Toolkit for the Web
12 lines (9 loc) • 407 B
JavaScript
import { a as commonjsGlobal } from '../../_virtual/commonjsHelpers.js';
import { i as implementation_browser } from './implementation.browser.js';
var polyfill = function getPolyfill() {
if (typeof commonjsGlobal !== 'object' || !commonjsGlobal || commonjsGlobal.Math !== Math || commonjsGlobal.Array !== Array) {
return implementation_browser;
}
return commonjsGlobal;
};
export { polyfill as p };