@samitouri / QOS-React-2 / commits / a5657d213c

Fix lint

Sebastian Markbage committed Jan 20, 2015 at 14:39 UTC a5657d213c9daa2086e0dad73ab200807f32862e
1 file changed +3 -3
src/classic/class/ReactClass.js
+3 -3
@@ -801,10 +801,10 @@ var ReactClass = {
801
802 this.props = props;
803 this.state = null;
804 -
804 +
805 // ReactClasses doesn't have constructors. Instead, they use the
806 // getInitialState and componentWillMount methods for initialization.
807 -
807 +
808 var initialState = this.getInitialState ? this.getInitialState() : null;
809 if (__DEV__) {
810 // We allow auto-mocks to proceed as if they're returning null.
@@ -820,7 +820,7 @@ var ReactClass = {
820 '%s.getInitialState(): must return an object or null',
821 Constructor.displayName || 'ReactCompositeComponent'
822 );
823 -
823 +
824 this.state = initialState;
825 };
826 Constructor.prototype = new ReactClassBase();