Commit 8c68b734 authored by afc163's avatar afc163

Add babel-polyfill

parent c206828c
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
}, },
"dependencies": { "dependencies": {
"antd": "^3.0.0-beta.1", "antd": "^3.0.0-beta.1",
"babel-polyfill": "^6.26.0",
"babel-runtime": "^6.9.2", "babel-runtime": "^6.9.2",
"classnames": "^2.2.5", "classnames": "^2.2.5",
"core-js": "^2.5.1", "core-js": "^2.5.1",
......
import 'core-js/es6/map'; import 'core-js/es6/map';
import 'core-js/es6/set'; import 'core-js/es6/set';
import 'babel-polyfill';
global.requestAnimationFrame = global.requestAnimationFrame =
global.requestAnimationFrame || function requestAnimationFrame(callback) { global.requestAnimationFrame || function requestAnimationFrame(callback) {
......
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