UNPKG

1.3 kBJavaScriptView Raw
1(function (factory) {
2 if (typeof module === "object" && typeof module.exports === "object") {
3 var v = factory(require, exports);
4 if (v !== undefined) module.exports = v;
5 }
6 else if (typeof define === "function" && define.amd) {
7 define(["require", "exports", "core-js/features/object/assign", "core-js/features/typed-array", "url-search-params-polyfill"], factory);
8 }
9})(function (require, exports) {
10 "use strict";
11 Object.defineProperty(exports, "__esModule", { value: true });
12 require("core-js/features/object/assign");
13 require("core-js/features/typed-array");
14 require("url-search-params-polyfill");
15 var global = window;
16 if (typeof global.Promise === 'undefined') {
17 global.Promise = require('core-js-pure/features/promise');
18 }
19 if (typeof global.Map === 'undefined') {
20 global.Map = require('core-js-pure/features/map');
21 }
22 if (typeof global.Symbol === 'undefined') {
23 global.Symbol = require('core-js-pure/features/symbol');
24 }
25 if (typeof global.Set === 'undefined') {
26 global.Set = require('core-js-pure/features/set');
27 }
28 if (typeof global.WeakSet === 'undefined') {
29 global.WeakSet = require('core-js-pure/features/weak-set');
30 }
31});
32//# sourceMappingURL=shim.js.map
\No newline at end of file