add babel to devDepedenecy

old
ustccjw 2015-10-23 16:53:09 +08:00
parent efb9cd2908
commit d0936c2d8c
2 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Ripple extends React.Component {
}
render () {
const { left, top, width } = this.state;
const { left, top, width, height} = this.state;
const rippleStyle = {left, top, width, height};
let className = style[this.props.loading ? 'loading' : 'normal'];
if (this.state.active) className += ` ${style.active}`;

View File

@ -48,6 +48,7 @@
},
"devDependencies": {
"autoprefixer": "^6.0.3",
"babel": "^5.8.23",
"babel-core": "^5.8.23",
"babel-eslint": "^4.1.3",
"babel-loader": "^5.3.2",
@ -64,6 +65,7 @@
"mocha": "^2.3.3",
"node-libs-browser": "^0.5.2",
"node-sass": "^3.3.3",
"normalize.css": "^3.0.3",
"phantomjs-polyfill": "0.0.1",
"postcss-loader": "^0.7.0",
"react": "^0.14",