Skip to content

Commit

Permalink
Provide a polyfill for the global self reference
Browse files Browse the repository at this point in the history
  • Loading branch information
negativetwelve committed Sep 21, 2017
1 parent 9334d94 commit e016272
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/handy-api/src/API.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// NOTE(mark): Need to polyfill global.self because isomorphic-fetch
// requires it.
global.self = global;

// Libraries
import Url from 'handy-url';
import fetch from 'isomorphic-fetch';
Expand Down

0 comments on commit e016272

Please sign in to comment.