@samitouri / QOS-React-2 / commits / 27ea2c7e51

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.

Irae committed Mar 29, 2014 at 14:46 UTC 27ea2c7e517e9a70e1a43baf6b8f5be6bf766a72
1 file changed -5
src/addons/transitions/ReactCSSTransitionGroupChild.js
-5
@@ -84,11 +84,6 @@ var ReactCSSTransitionGroupChild = React.createClass({
84 queueClass: function(className) {
85 this.classNameQueue.push(className);
86
87 - if (this.props.runNextTick) {
88 - this.props.runNextTick(this.flushClassNameQueue);
89 - return;
90 - }
91 -
87 if (!this.timeout) {
88 this.timeout = setTimeout(this.flushClassNameQueue, TICK);
89 }