Wrapped line to 80 chars in ReactPropTypes sample
Mariano Desanze committed
Jun 28, 2014 at 04:33 UTC
bb1a31930bd18a27edd7886ba71c7c5ba6b1031f
1 file changed
+2
-1
src/core/ReactPropTypes.js
+2
-1
@@ -55,7 +55,8 @@ var emptyFunction = require('emptyFunction');
55
* // An optional string or URI prop named "href".
56
* href: function(props, propName, componentName) {
57
* var propValue = props[propName];
58
- * if (propValue != null && typeof propValue !== 'string' && !(propValue instanceof URI)) {
58
+ * if (propValue != null && typeof propValue !== 'string' &&
59
+ * !(propValue instanceof URI)) {
60
* return new Error(
61
* 'Expected a string or an URI for ' + propName + ' in ' +
62
* componentName