File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
- module . exports = require ( 'whatwg-fetch' ) ;
1
+ // the whatwg-fetch polyfill installs the fetch() function
2
+ // on the global object (window or self)
3
+ //
4
+ // Return that as the export for use in Webpack, Browserify etc.
5
+ require ( 'whatwg-fetch' ) ;
6
+ module . exports = self . fetch ;
Original file line number Diff line number Diff line change 10
10
},
11
11
"repository" : {
12
12
"type" : " git" ,
13
- "url" : " git ://github.com/matthew-andrews/node -fetch.git"
13
+ "url" : " https ://github.com/matthew-andrews/isomorphic -fetch.git"
14
14
},
15
15
"author" : " Matt Andrews <matt@mattandre.ws>" ,
16
16
"license" : " MIT" ,
17
17
"bugs" : {
18
- "url" : " https://github.com/matthew-andrews/node -fetch/issues"
18
+ "url" : " https://github.com/matthew-andrews/isomorphic -fetch/issues"
19
19
},
20
- "homepage" : " https://github.com/matthew-andrews/node -fetch" ,
20
+ "homepage" : " https://github.com/matthew-andrews/isomorphic -fetch/issues " ,
21
21
"dependencies" : {
22
22
"node-fetch" : " ^1.0.1" ,
23
23
"whatwg-fetch" : " matthew-andrews/fetch#ie9"
You can’t perform that action at this time.
0 commit comments