1 | "use strict";
|
2 |
|
3 |
|
4 | var getGlobal = function () {
|
5 |
|
6 |
|
7 |
|
8 | if (typeof self !== 'undefined') { return self; }
|
9 | if (typeof window !== 'undefined') { return window; }
|
10 | if (typeof global !== 'undefined') { return global; }
|
11 | throw new Error('unable to locate global object');
|
12 | }
|
13 |
|
14 | var global = getGlobal();
|
15 |
|
16 | module.exports = exports = global.fetch;
|
17 |
|
18 |
|
19 | exports.default = global.fetch.bind(global);
|
20 |
|
21 | exports.Headers = global.Headers;
|
22 | exports.Request = global.Request;
|
23 | exports.Response = global.Response; |
\ | No newline at end of file |