Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
8262d142
Commit
8262d142
authored
Nov 23, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix polyfill, #210
parent
8c68b734
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
src/index.js
src/index.js
+1
-1
src/polyfill.js
src/polyfill.js
+0
-8
No files found.
src/index.js
View file @
8262d142
import
'
babel-polyfill
'
;
import
dva
from
'
dva
'
;
import
'
moment/locale/zh-cn
'
;
import
'
./polyfill
'
;
import
'
./g2
'
;
import
'
./rollbar
'
;
// import browserHistory from 'history/createBrowserHistory';
...
...
src/polyfill.js
deleted
100644 β 0
View file @
8c68b734
import
'
core-js/es6/map
'
;
import
'
core-js/es6/set
'
;
import
'
babel-polyfill
'
;
global
.
requestAnimationFrame
=
global
.
requestAnimationFrame
||
function
requestAnimationFrame
(
callback
)
{
setTimeout
(
callback
,
0
);
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment