Commit 8262d142 authored by afc163's avatar afc163

Fix polyfill, #210

parent 8c68b734
import 'babel-polyfill';
import dva from 'dva'; import dva from 'dva';
import 'moment/locale/zh-cn'; import 'moment/locale/zh-cn';
import './polyfill';
import './g2'; import './g2';
import './rollbar'; import './rollbar';
// import browserHistory from 'history/createBrowserHistory'; // import browserHistory from 'history/createBrowserHistory';
......
import 'core-js/es6/map';
import 'core-js/es6/set';
import 'babel-polyfill';
global.requestAnimationFrame =
global.requestAnimationFrame || function requestAnimationFrame(callback) {
setTimeout(callback, 0);
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment