Add indent lint rule, fix code

This commit is contained in:
Paul O’Shannessy
2015-02-12 14:31:55 -08:00
parent 52b32d83d0
commit 7e5eb4b2b2
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ var ReactCompositeComponentMixin = {
ReactLifeCycle.currentlyMountingInstance = this;
try {
if (inst.componentWillMount) {
inst.componentWillMount();
inst.componentWillMount();
// When mounting, calls to `setState` by `componentWillMount` will set
// `this._pendingStateQueue` without triggering a re-render.
if (this._pendingStateQueue) {