From e1a6123aa6a4cf47b3be8d681692b7256d4485c6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 9 Nov 2015 16:55:06 +0800 Subject: [PATCH] Fix ES2015 syntax in unbabeled file --- index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 2588e7133d..1624ffbcf3 100644 --- a/index.js +++ b/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; diff --git a/package.json b/package.json index 402e2a3e72..656cbc1693 100644 --- a/package.json +++ b/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/",