A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/node-fetch/node-fetch/commit/70f592d9d2da959df1cebc2dd2314286a4bcf345 below:

"global is not defined" (#1704) · node-fetch/node-fetch@70f592d · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -17,7 +17,7 @@ module.exports = exports = globalObject.fetch;

17 17 18 18

// Needed for TypeScript and Webpack.

19 19

if (globalObject.fetch) {

20 -

exports.default = globalObject.fetch.bind(global);

20 +

exports.default = globalObject.fetch.bind(globalObject);

21 21

}

22 22 23 23

exports.Headers = globalObject.Headers;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4