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

Always use ANONYMOUS const in ReactPropTypes.js

Cam Song committed Oct 7, 2015 at 11:28 UTC a69f05c8811839a971083043e86cf046ef907691
1 file changed +1 -1
src/isomorphic/classic/types/ReactPropTypes.js
+1 -1
@@ -411,7 +411,7 @@ function getPreciseType(propValue) {
411 // Returns class name of the object, if any.
412 function getClassName(propValue) {
413 if (!propValue.constructor || !propValue.constructor.name) {
414 - return '<<anonymous>>';
414 + return ANONYMOUS;
415 }
416 return propValue.constructor.name;
417 }