react-intl 2-rc1

This commit is contained in:
SleepWalker 2016-03-10 11:25:21 +02:00
parent e94b04551d
commit c8b112b63f
2 changed files with 1 additions and 14 deletions

View File

@ -22,7 +22,7 @@
"react-dom": "^0.14.3",
"react-height": "^2.0.3",
"react-helmet": "^2.3.1",
"react-intl": "=2.0.0-beta-2",
"react-intl": "=v2.0.0-rc-1",
"react-motion": "^0.4.0",
"react-redux": "^4.0.0",
"react-router": "^2.0.0",

View File

@ -22,19 +22,6 @@ import routesFactory from 'routes';
import 'index.scss';
// TODO: временная мера против Intl, который беспощадно спамит консоль
if (process.env.NODE_ENV !== 'production') {
const originalConsoleError = console.error;
if (console.error === originalConsoleError) {
console.error = (...args) => {
if (args[0].indexOf('[React Intl] Missing message:') === 0) {
return;
}
originalConsoleError.call(console, ...args);
};
}
}
const reducer = combineReducers({
...reducers,
routing: routeReducer