From 27ea2c7e517e9a70e1a43baf6b8f5be6bf766a72 Mon Sep 17 00:00:00 2001 From: Irae Date: Sat, 29 Mar 2014 14:46:02 -0700 Subject: [PATCH] Remove leftovers from ReactTransitionGroup rewrite Looks like while rewriting @petehunt forgot to remove this block. See: 9ac27cb551b85293d03d334363acd7cf9c77813a This block used to contain the only `runNextTick` ocurrences in the whole project. No tests broken after removal, no documentation affected. --- src/addons/transitions/ReactCSSTransitionGroupChild.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/addons/transitions/ReactCSSTransitionGroupChild.js b/src/addons/transitions/ReactCSSTransitionGroupChild.js index 1295aeb7b78d..9e536da72d64 100644 --- a/src/addons/transitions/ReactCSSTransitionGroupChild.js +++ b/src/addons/transitions/ReactCSSTransitionGroupChild.js @@ -84,11 +84,6 @@ var ReactCSSTransitionGroupChild = React.createClass({ queueClass: function(className) { this.classNameQueue.push(className); - if (this.props.runNextTick) { - this.props.runNextTick(this.flushClassNameQueue); - return; - } - if (!this.timeout) { this.timeout = setTimeout(this.flushClassNameQueue, TICK); }