mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Reset changes to code made in #3693
Reverting this bit in the stable branch so builds aren't changed. We can pick this up again if we do a 0.13.3.
This commit is contained in:
@@ -108,7 +108,7 @@ if (__DEV__) {
|
||||
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined') {
|
||||
console.debug(
|
||||
'Download the React DevTools for a better development experience: ' +
|
||||
'https://fb.me/react-devtools'
|
||||
'http://fb.me/react-devtools'
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -135,7 +135,7 @@ if (__DEV__) {
|
||||
if (!expectedFeatures[i]) {
|
||||
console.error(
|
||||
'One or more ES5 shim/shams expected by React are not available: ' +
|
||||
'https://fb.me/react-warning-polyfills'
|
||||
'http://fb.me/react-warning-polyfills'
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ function assertValidProps(props) {
|
||||
invariant(
|
||||
props.dangerouslySetInnerHTML.__html != null,
|
||||
'`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
|
||||
'Please visit https://fb.me/react-invariant-dangerously-set-inner-html ' +
|
||||
'Please visit http://fb.me/react-invariant-dangerously-set-inner-html ' +
|
||||
'for more information.'
|
||||
);
|
||||
}
|
||||
|
||||
@@ -387,7 +387,7 @@ describe('ReactDOMComponent', function() {
|
||||
}).toThrow(
|
||||
'Invariant Violation: ' +
|
||||
'`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
|
||||
'Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.'
|
||||
'Please visit http://fb.me/react-invariant-dangerously-set-inner-html for more information.'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -397,7 +397,7 @@ describe('ReactDOMComponent', function() {
|
||||
}).toThrow(
|
||||
'Invariant Violation: ' +
|
||||
'`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. ' +
|
||||
'Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.'
|
||||
'Please visit http://fb.me/react-invariant-dangerously-set-inner-html for more information.'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -832,7 +832,7 @@ var ReactClass = {
|
||||
warning(
|
||||
this instanceof Constructor,
|
||||
'Something is calling a React component directly. Use a factory or ' +
|
||||
'JSX instead. See: https://fb.me/react-legacyfactory'
|
||||
'JSX instead. See: http://fb.me/react-legacyfactory'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -374,7 +374,7 @@ describe('ReactClass-spec', function() {
|
||||
expect(console.warn.calls.length).toBe(1);
|
||||
expect(console.warn.argsForCall[0][0]).toBe(
|
||||
'Warning: Something is calling a React component directly. Use a ' +
|
||||
'factory or JSX instead. See: https://fb.me/react-legacyfactory'
|
||||
'factory or JSX instead. See: http://fb.me/react-legacyfactory'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -166,7 +166,7 @@ function warnAndMonitorForKeyUse(message, element, parentType) {
|
||||
|
||||
warning(
|
||||
false,
|
||||
message + '%s%s See https://fb.me/react-warning-keys for more information.',
|
||||
message + '%s%s See http://fb.me/react-warning-keys for more information.',
|
||||
parentOrOwnerAddendum,
|
||||
childOwnerAddendum
|
||||
);
|
||||
|
||||
@@ -99,7 +99,7 @@ describe('ReactElementValidator', function() {
|
||||
expect(console.warn.argsForCall.length).toBe(1);
|
||||
expect(console.warn.argsForCall[0][0]).toBe(
|
||||
'Warning: Each child in an array or iterator should have a unique ' +
|
||||
'"key" prop. See https://fb.me/react-warning-keys for more information.'
|
||||
'"key" prop. See http://fb.me/react-warning-keys for more information.'
|
||||
);
|
||||
});
|
||||
|
||||
@@ -116,7 +116,7 @@ describe('ReactElementValidator', function() {
|
||||
expect(console.warn.argsForCall[0][0]).toBe(
|
||||
'Warning: Each child in an array or iterator should have a unique ' +
|
||||
'"key" prop. Check the React.render call using <div>. See ' +
|
||||
'https://fb.me/react-warning-keys for more information.'
|
||||
'http://fb.me/react-warning-keys for more information.'
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user