mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
Remove es*-shims (benjycui/bisheng#23)
This commit is contained in:
parent
7d8a2e0612
commit
b27f0eb68f
@ -102,7 +102,7 @@ $ npm run build
|
||||
|
||||
Ant Design React 支持所有的现代浏览器和 IE8+。
|
||||
|
||||
对于 IE8 需要配合使用 [react@0.14.x](https://facebook.github.io/react/blog/2016/01/12/discontinuing-ie8-support.html) 版本,并提供 [es5-shim](http://facebook.github.io/react/docs/working-with-the-browser.html#browser-support-and-polyfills) 等 Polyfills 的支持。
|
||||
对于 IE8/9 等浏览器,需要提供 [es5-shim](https://facebook.github.io/react/docs/working-with-the-browser.html#browser-support) 等 Polyfills 的支持,推荐使用 [babel-polyfill](https://babeljs.io/docs/usage/polyfill/)。特别对于 IE8 需要配合使用 [react@0.14.x](https://facebook.github.io/react/blog/2016/01/12/discontinuing-ie8-support.html) 版本。
|
||||
|
||||
<div class="code-line-highlight"></div>
|
||||
|
||||
|
@ -8,9 +8,8 @@
|
||||
<link rel="icon" href="https://t.alipayobjects.com/images/T1QUBfXo4fXXXXXXXX.png" type="image/x-icon">
|
||||
<link rel="stylesheet" type="text/css" href="{{ root }}index.css"/>
|
||||
<!--[if lte IE 10]>
|
||||
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,es5-shim/4.1.14/es5-shim.min.js,es5-shim/4.1.14/es5-sham.min.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
|
||||
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="https://as.alipayobjects.com/g/component/??es6-shim/0.35.1/es6-shim.min.js,es6-shim/0.35.1/es6-sham.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="react-content"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user