Skip to content

Commit

Permalink
updating code style
Browse files Browse the repository at this point in the history
  • Loading branch information
skevy committed May 22, 2015
1 parent acbcbf4 commit 5215703
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions GSAPDemo/GSAPDemo.js
Expand Up @@ -25,10 +25,8 @@ var TweenableImage = React.createClass({
if (!options) {
options = {};
}

var finalState = {};
finalState[property] = finalValue;

return TweenMax.to(this, duration, Object.assign({}, { state: finalState }, options));
},

Expand Down Expand Up @@ -82,7 +80,6 @@ var GSAPDemo = React.createClass({
this.refs.image1.getTween('left', '-=150', 1.5, { easing: Expo.easeInOut }),
this.refs.image1.getTween('opacity', 0, 1.5, { easing: Expo.easeInOut })
], '+=0', 'start');

},

render: function() {
Expand Down

0 comments on commit 5215703

Please sign in to comment.