Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ant-design-pro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thiago Borges
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
index.js
src/index.js
+1
-1
polyfill.js
src/polyfill.js
+0
-8
No files found.
src/index.js
View file @
8262d142
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';
...
...
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