@samitouri / QOS-React-2 / commits / 067fe27699
Fork 0

The library for web and native user interfaces.

Fix Clowny Validation Code

ಠ_ಠ

Tim Yung committed Jul 10, 2013 at 14:44 UTC 067fe27699cf3754cdf4aaf067ff67fa4fdf04c5
1 file changed +1 -1
src/core/ReactCompositeComponent.js
+1 -1
@@ -582,7 +582,7 @@ var ReactCompositeComponentMixin = {
582 * @protected
583 */
584 replaceState: function(completeState, callback) {
585 - validateLifeCycleOnReplaceState.call(null, this);
585 + validateLifeCycleOnReplaceState(this);
586 this._pendingState = completeState;
587 ReactUpdates.enqueueUpdate(this, callback);
588 },