@samitouri / QOS-React-2 / commits / 65d16883a5

Fix hasOwnProperty check typo in mixStaticSpecIntoComponent

plievone committed Mar 27, 2014 at 21:21 UTC 65d16883a5719453b1edd512490fc9d84030227e
1 file changed +1 -1
src/core/ReactCompositeComponent.js
+1 -1
@@ -505,7 +505,7 @@ function mixStaticSpecIntoComponent(ConvenienceConstructor, statics) {
505 for (var name in statics) {
506 var property = statics[name];
507 if (!statics.hasOwnProperty(name)) {
508 - return;
508 + continue;
509 }
510
511 var isInherited = name in ConvenienceConstructor;