Skip to content

Commit

Permalink
Merge pull request #27 from keithamus/patch-1
Browse files Browse the repository at this point in the history
Prevent Illegal invocation Error using transpilers
  • Loading branch information
matthew-andrews committed Jul 16, 2015
2 parents 84c437f + 166d055 commit 38e3872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fetch-npm-browserify.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
//
// Return that as the export for use in Webpack, Browserify etc.
require('whatwg-fetch');
module.exports = self.fetch;
module.exports = self.fetch.bind(self);

0 comments on commit 38e3872

Please sign in to comment.