Skip to content

Commit

Permalink
Fix polyfill, #210
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 23, 2017
1 parent 8c68b73 commit 8262d14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'babel-polyfill';
import dva from 'dva';
import 'moment/locale/zh-cn';
import './polyfill';
import './g2';
import './rollbar';
// import browserHistory from 'history/createBrowserHistory';
Expand Down
8 changes: 0 additions & 8 deletions src/polyfill.js

This file was deleted.

1 comment on commit 8262d14

@yesmeck
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/ant-design/ant-design-pro/blob/master/tests/setupTests.js#L2

这里也引了这个 polyfill,其实不应该用同一个。测试里需要 requestAnimationFrame

Please sign in to comment.