File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change
1
+ ### v0.1.4 (9 September 2015)
2
+
3
+ * [ BUGFIX] Using React's ` object.assign ` method to be ES5 compatible which was the intent. (#2 )
4
+
1
5
### v0.1.3 (12 August 2015)
2
6
3
7
* [ BUGFIX] Added the ` classnames ` dependency to ` package.json ` . (#1 )
Original file line number Diff line number Diff line change 20
20
"react" : " >=0.13.0"
21
21
},
22
22
"devDependencies" : {
23
- "babel" : " ^5.8.21 " ,
24
- "babel-eslint" : " ^4.0.5 " ,
25
- "eslint" : " ^1.1.0 " ,
26
- "eslint-plugin-react" : " ^3.2 .1" ,
23
+ "babel" : " ^5.8.23 " ,
24
+ "babel-eslint" : " ^4.1.1 " ,
25
+ "eslint" : " ^1.3.1 " ,
26
+ "eslint-plugin-react" : " ^3.3 .1" ,
27
27
"gulp" : " ^3.9.0" ,
28
28
"gulp-eslint" : " ^1.0.0"
29
29
},
Original file line number Diff line number Diff line change 6
6
7
7
import React from 'react/addons' ;
8
8
import classSet from 'classnames' ;
9
+ import assign from 'react/lib/Object.assign' ;
9
10
10
11
import ReplaceChildComponent from './ReactCSSTransitionReplaceChild' ;
11
12
@@ -117,7 +118,7 @@ class ReactCSSTransitionReplace extends React.Component {
117
118
118
119
heightClassName = `${ this . props . transitionName } -height` ;
119
120
120
- style = Object . assign ( style || { } , {
121
+ style = assign ( style || { } , {
121
122
overflow : this . state . height !== 'auto' ? 'hidden' : 'visible' ,
122
123
height : this . state . height ,
123
124
display : 'block'
You can’t perform that action at this time.
0 commit comments