We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b091ab5 commit ed9e886Copy full SHA for ed9e886
browser.js
@@ -1,8 +1,10 @@
1
-module.exports = exports = window.fetch;
+"use strict";
2
+
3
+module.exports = exports = self.fetch;
4
5
// Needed for TypeScript and Webpack.
-exports.default = window.fetch.bind(window);
6
+exports.default = self.fetch.bind(self);
7
-exports.Headers = window.Headers;
-exports.Request = window.Request;
8
-exports.Response = window.Response;
+exports.Headers = self.Headers;
9
+exports.Request = self.Request;
10
+exports.Response = self.Response;
0 commit comments