UNPKG

yyuap-template

Version:

template project which is based on tinper

37 lines (32 loc) 1.21 kB
(function (global, factory) { if (typeof define === "function" && define.amd) { define(['object-assign', 'promise-polyfill', 'array.prototype.fill'], factory); } else if (typeof exports !== "undefined") { factory(require('object-assign'), require('promise-polyfill'), require('array.prototype.fill')); } else { var mod = { exports: {} }; factory(global.objectAssign, global.promisePolyfill, global.arrayPrototype); global.polyfill_shim = mod.exports; } })(this, function (_objectAssign, _promisePolyfill, _arrayPrototype) { 'use strict'; var _objectAssign2 = _interopRequireDefault(_objectAssign); var _promisePolyfill2 = _interopRequireDefault(_promisePolyfill); var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } if (typeof Object.assign === 'undefined' || Object.assign === "undefined") { Object.assign = _objectAssign2.default; } if (typeof window.Promise === 'undefined') { window.Promise = _promisePolyfill2.default; } if (typeof Array.fill === 'undefined') { Array.fill = _arrayPrototype2.default; } });