yyuap-ref
Version:
cloud os fe ref project which is based on tinper
27 lines (18 loc) • 784 B
JavaScript
;
var _objectAssign = require('object-assign');
var _objectAssign2 = _interopRequireDefault(_objectAssign);
var _promisePolyfill = require('promise-polyfill');
var _promisePolyfill2 = _interopRequireDefault(_promisePolyfill);
var _arrayPrototype = require('array.prototype.fill');
var _arrayPrototype2 = _interopRequireDefault(_arrayPrototype);
require('whatwg-fetch');
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;
}