mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
Fix ES2015 syntax in unbabeled file
This commit is contained in:
parent
5bcdcc3fce
commit
e1a6123aa6
2
index.js
2
index.js
@ -57,7 +57,7 @@ if (process.env.NODE_ENV !== 'production') {
|
||||
var semver = require('semver');
|
||||
var reactVersionInDeps = '~0.13.3';
|
||||
warning(semver.satisfies(React.version, reactVersionInDeps),
|
||||
`antd@${antd.version} need to satisfies react@${reactVersionInDeps} which is ${React.version} now.`);
|
||||
'antd@' + antd.version + ' need to satisfies react@' + reactVersionInDeps + ' which is ' + React.version + ' now.');
|
||||
}
|
||||
|
||||
module.exports = antd;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "antd",
|
||||
"version": "0.9.4",
|
||||
"stableVersion": "0.9.4",
|
||||
"version": "0.9.5",
|
||||
"stableVersion": "0.9.5",
|
||||
"title": "Ant Design",
|
||||
"description": "一个 UI 设计语言",
|
||||
"homepage": "http://ant.design/",
|
||||
|
Loading…
Reference in New Issue
Block a user