From 521570310ef01e9f8ff4577ae709d39e140fede3 Mon Sep 17 00:00:00 2001 From: Adam Miskiewicz Date: Fri, 22 May 2015 15:58:22 -0400 Subject: [PATCH] updating code style --- GSAPDemo/GSAPDemo.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/GSAPDemo/GSAPDemo.js b/GSAPDemo/GSAPDemo.js index e6610a6..f22929a 100644 --- a/GSAPDemo/GSAPDemo.js +++ b/GSAPDemo/GSAPDemo.js @@ -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)); }, @@ -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() {