mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 23:22:41 +08:00
remove support for process.platform
Reviewed By: javache Differential Revision: D3252666 fb-gh-sync-id: af0e4987c34f43ec2472cbdf52fc112b81050513 fbshipit-source-id: af0e4987c34f43ec2472cbdf52fc112b81050513
This commit is contained in:
committed by
Facebook Github Bot 5
parent
6c80f886ae
commit
46d98e1d68
@@ -205,8 +205,6 @@ function setUpProcess() {
|
||||
if (!global.process.env.NODE_ENV) {
|
||||
global.process.env.NODE_ENV = __DEV__ ? 'development' : 'production';
|
||||
}
|
||||
|
||||
polyfillLazyGlobal('platform', () => require('Platform').OS, global.process);
|
||||
}
|
||||
|
||||
function setUpDevTools() {
|
||||
|
||||
Reference in New Issue
Block a user