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

Added fb.me url to error message.

Jim committed Jan 21, 2015 at 12:39 UTC b94adc9724bf3df8306b3f47de706c737471495e
2 files changed +3 -3
src/browser/ui/ReactDOMComponent.js
+1 -1
@@ -63,7 +63,7 @@ function assertValidProps(props) {
63 invariant(
64 props.dangerouslySetInnerHTML.__html != null,
65 '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
66 - 'For more information, lookup documentation on `dangerouslySetInnerHTML`.'
66 + 'Please visit http://fb.me/react-invariant-dangerously-set-inner-html for more information.'
67 );
68 }
69 if (__DEV__) {
src/browser/ui/__tests__/ReactDOMComponent-test.js
+2 -2
@@ -357,7 +357,7 @@ describe('ReactDOMComponent', function() {
357 }).toThrow(
358 'Invariant Violation: ' +
359 '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
360 - 'For more information, lookup documentation on `dangerouslySetInnerHTML`.'
360 + 'Please visit http://fb.me/react-invariant-dangerously-set-inner-html for more information.'
361 );
362 });
363
@@ -367,7 +367,7 @@ describe('ReactDOMComponent', function() {
367 }).toThrow(
368 'Invariant Violation: ' +
369 '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
370 - 'For more information, lookup documentation on `dangerouslySetInnerHTML`.'
370 + 'Please visit http://fb.me/react-invariant-dangerously-set-inner-html for more information.'
371 );
372 });
373