Browse Source

Fix ES2015 syntax in unbabeled file

pull/566/head
afc163 9 years ago
parent
commit
e1a6123aa6
  1. 2
      index.js
  2. 4
      package.json

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;

4
package.json

@ -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…
Cancel
Save