Add fetch polyfill.

This commit is contained in:
Roger Braun 2017-07-31 16:35:07 +02:00
parent 9c5f001fd2
commit b1d9cbaebd
3 changed files with 7 additions and 1 deletions

View file

@ -24,6 +24,7 @@ const QVITTER_USER_TIMELINE_URL = '/api/qvitter/statuses/user_timeline.json'
// const USER_URL = '/api/users/show.json'
import { each, map } from 'lodash'
import 'whatwg-fetch'
const oldfetch = window.fetch