Skip to content

Commit fe5d3d8

Browse files
author
ienix
committed
auto polyfill
1 parent ea0f323 commit fe5d3d8

File tree

7 files changed

+21
-1856
lines changed

7 files changed

+21
-1856
lines changed

dist/index.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
(function (global, factory) {
2-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('underscore'), require('deep-assign'), require('query-string')) :
3-
typeof define === 'function' && define.amd ? define(['underscore', 'deep-assign', 'query-string'], factory) :
4-
(global['i-apify'] = factory(global.u,global['deepAssign:'],global.queryString));
5-
}(this, (function (u,deepAssign,queryString) { 'use strict';
2+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('whatwg-fetch'), require('underscore'), require('deep-assign'), require('query-string')) :
3+
typeof define === 'function' && define.amd ? define(['whatwg-fetch', 'underscore', 'deep-assign', 'query-string'], factory) :
4+
(global['i-apify'] = factory(null,global.u,global['deepAssign:'],global.queryString));
5+
}(this, (function (whatwgFetch,u,deepAssign,queryString) { 'use strict';
66

77
u = u && u.hasOwnProperty('default') ? u['default'] : u;
88
deepAssign = deepAssign && deepAssign.hasOwnProperty('default') ? deepAssign['default'] : deepAssign;
99
queryString = queryString && queryString.hasOwnProperty('default') ? queryString['default'] : queryString;
1010

11+
/**
12+
* @file fetch
13+
* @author ienix(enix@foxmail.com)
14+
*
15+
* @since 2017/12/4
16+
*/
17+
1118
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
1219
return typeof obj;
1320
} : function (obj) {
@@ -299,7 +306,7 @@ module.exports = exports['default'];
299306
* @since 2017/9/5
300307
*/
301308

302-
/* global fetch, Promise */
309+
/* global Promise */
303310

304311
var X_OPTION_ENUM = defaultConfig.X_OPTION_ENUM;
305312

dist/index.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)