Skip to content

Commit

Permalink
feat: use isomorphic-fetch, Close dvajs#162
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Oct 18, 2016
1 parent af4b7e6 commit 42b0b2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions fetch.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
require('whatwg-fetch');

Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = self.fetch.bind(self);
module.exports = require('isomorphic-fetch');
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
"global": "^4.3.1",
"invariant": "^2.2.1",
"is-plain-object": "^2.0.1",
"isomorphic-fetch": "^2.2.1",
"react-redux": "4.4.x",
"react-router": "^2.7.0",
"react-router-redux": "^4.0.5",
"redux": "^3.6.0",
"redux-actions": "^0.12.0",
"redux-saga": "^0.12.0",
"warning": "^3.0.0",
"whatwg-fetch": "^1.0.0"
"warning": "^3.0.0"
},
"peerDependencies": {
"react": "15.x",
Expand Down

0 comments on commit 42b0b2c

Please sign in to comment.