Bumping version to help filtering.

This commit is contained in:
Sebastian Markbage 2014-08-29 08:52:43 -07:00 committed by Paul O’Shannessy
parent 63046277e4
commit 4af98990db
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ function warnForLegacyFactoryCall() {
name + ' is calling a React component directly. ' +
'Use a factory or JSX instead. See: http://fb.me/react-legacyfactory'
);
monitorCodeUse('react_legacy_factory_call', { version: 2, name: name });
monitorCodeUse('react_legacy_factory_call', { version: 3, name: name });
}
function warnForPlainFunctionType(type) {
@ -67,7 +67,7 @@ function warnForPlainFunctionType(type) {
}
monitorCodeUse(
'react_non_component_in_jsx',
{ version: 2, name: type.name }
{ version: 3, name: type.name }
);
}
warning(