UNPKG
patreon
Version:
latest (0.4.1)
0.4.1
0.4.0
0.3.0
0.1.0
0.0.2
0.0.2-2
0.0.2-1
0.0.2-0
0.0.1
Use the Patreon API via OAuth.
github.com/patreon/patreon-js
patreon/patreon-js
patreon
/
examples
/
node_modules
/
isomorphic-fetch
/
fetch-npm-browserify.js
7 lines
(6 loc)
•
233 B
JavaScript
View Raw
1
2
3
4
5
6
7
// the whatwg-fetch polyfill installs the fetch() function
// on the global object (window or self)
//
// Return that as the export for use in Webpack, Browserify etc.
require
(
'whatwg-fetch'
); module.exports =
self
.fetch.
bind
(
self
);