@samitouri / QOS-React-2 / commits / 91029ffac1

Fixed Formatting.

Chris Grovers committed Apr 25, 2015 at 15:06 UTC 91029ffac12f28b104e5fd779fd834abb7d4e437
1 file changed +3 -3
src/classic/class/ReactClass.js
+3 -3
@@ -468,7 +468,7 @@ function mixSpecIntoComponent(Constructor, spec) {
468 }
469
470 if (name === MIXINS_KEY) {
471 - // We have already handled mixins in a special case above
471 + // We have already handled mixins in a special case above.
472 continue;
473 }
474
@@ -501,7 +501,7 @@ function mixSpecIntoComponent(Constructor, spec) {
501 if (isAlreadyDefined) {
502 var specPolicy = ReactClassInterface[name];
503
504 - // These cases should already be caught by validateMethodOverride
504 + // These cases should already be caught by validateMethodOverride.
505 invariant(
506 isReactClassMethod && (
507 specPolicy === SpecPolicy.DEFINE_MANY_MERGED ||
@@ -873,7 +873,7 @@ var ReactClass = {
873
874 mixSpecIntoComponent(Constructor, spec);
875
876 - // Initialize the defaultProps property after all mixins have been merged
876 + // Initialize the defaultProps property after all mixins have been merged.
877 if (Constructor.getDefaultProps) {
878 Constructor.defaultProps = Constructor.getDefaultProps();
879 }