add babel to devDepedenecy
parent
efb9cd2908
commit
d0936c2d8c
|
@ -49,7 +49,7 @@ class Ripple extends React.Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const { left, top, width } = this.state;
|
const { left, top, width, height} = this.state;
|
||||||
const rippleStyle = {left, top, width, height};
|
const rippleStyle = {left, top, width, height};
|
||||||
let className = style[this.props.loading ? 'loading' : 'normal'];
|
let className = style[this.props.loading ? 'loading' : 'normal'];
|
||||||
if (this.state.active) className += ` ${style.active}`;
|
if (this.state.active) className += ` ${style.active}`;
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^6.0.3",
|
"autoprefixer": "^6.0.3",
|
||||||
|
"babel": "^5.8.23",
|
||||||
"babel-core": "^5.8.23",
|
"babel-core": "^5.8.23",
|
||||||
"babel-eslint": "^4.1.3",
|
"babel-eslint": "^4.1.3",
|
||||||
"babel-loader": "^5.3.2",
|
"babel-loader": "^5.3.2",
|
||||||
|
@ -64,6 +65,7 @@
|
||||||
"mocha": "^2.3.3",
|
"mocha": "^2.3.3",
|
||||||
"node-libs-browser": "^0.5.2",
|
"node-libs-browser": "^0.5.2",
|
||||||
"node-sass": "^3.3.3",
|
"node-sass": "^3.3.3",
|
||||||
|
"normalize.css": "^3.0.3",
|
||||||
"phantomjs-polyfill": "0.0.1",
|
"phantomjs-polyfill": "0.0.1",
|
||||||
"postcss-loader": "^0.7.0",
|
"postcss-loader": "^0.7.0",
|
||||||
"react": "^0.14",
|
"react": "^0.14",
|
||||||
|
|
Loading…
Reference in New Issue