Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #4 from kadirahq/fetch-polyfill
Browse files Browse the repository at this point in the history
Use a polyfill for fetch
  • Loading branch information
Muhammed Thanish authored Sep 9, 2016
2 parents 87db95a + 6123c18 commit 6847789
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"@kadira/storybook-database": "^2.0.1",
"body-parser": "^1.15.2",
"lodash": "^4.15.0",
"lowdb": "^0.13.1"
"lowdb": "^0.13.1",
"whatwg-fetch": "^1.0.0"
},
"peerDependencies": {
"express": "^4.0.0"
Expand Down
1 change: 1 addition & 0 deletions src/client/bundledPersister.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'whatwg-fetch';
import lowdb from 'lowdb';
import lodash from 'lodash';
import Database from '../shared/database';
Expand Down
2 changes: 2 additions & 0 deletions src/client/devServerPersister.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'whatwg-fetch';

export default class DevServerPersister {
constructor({ url }) {
this.url = url;
Expand Down

0 comments on commit 6847789

Please sign in to comment.