Created
September 29, 2015 14:49
-
-
Save nobleach/f6faf2f61b97c86cb654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add promise support for browser not supporting it | |
import es6Promise from 'es6-promise'; | |
es6Promise.polyfill(); | |
import fetch from 'isomorphic-fetch'; | |
// or use axios | |
import axios from 'axios'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment