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

Ran yarn and fixed line-length lint issue

Brian Vaughn committed Mar 24, 2017 at 19:59 UTC cb585229bcc76ce35ea6d068c2510a86438798ea
1 file changed +5 -3
src/isomorphic/classic/element/ReactElementValidator.js
+5 -3
@@ -184,9 +184,11 @@ function validatePropTypes(element) {
184
185 // ReactNative `View.propTypes` have been deprecated in favor of `ViewPropTypes`.
186 // In their place a temporary getter has been added with a deprecated warning message.
187 - // Avoid triggering that warning during validation using the temporary workaround, __propTypesSecretDontUseThesePlease.
188 - // TODO (bvaughn) Revert this particular change any time after April 1 ReactNative RC is tagged.
189 - var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease === 'object'
187 + // Avoid triggering that warning during validation using the temporary workaround,
188 + // __propTypesSecretDontUseThesePlease.
189 + // TODO (bvaughn) Revert this particular change any time after April 1 ReactNative tag.
190 + var propTypes = typeof componentClass.__propTypesSecretDontUseThesePlease ===
191 + 'object'
192 ? componentClass.__propTypesSecretDontUseThesePlease
193 : componentClass.propTypes;
194