mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-30 23:22:41 +08:00
Update to React 15.1.0-alpha.1
Reviewed By: zpao Differential Revision: D3283057 fbshipit-source-id: c37ea3818597e5c0f37ed3c7502c791c02183ea8
This commit is contained in:
committed by
Facebook Github Bot 8
parent
68b2f49a31
commit
a95405f419
@@ -32,13 +32,6 @@ if (typeof window === 'undefined') {
|
||||
global.window = global;
|
||||
}
|
||||
|
||||
function setUpProfile() {
|
||||
if (__DEV__) {
|
||||
const Systrace = require('Systrace');
|
||||
Systrace.swizzleReactPerf();
|
||||
}
|
||||
}
|
||||
|
||||
function setUpProcess() {
|
||||
GLOBAL.process = GLOBAL.process || {};
|
||||
GLOBAL.process.env = GLOBAL.process.env || {};
|
||||
@@ -218,7 +211,6 @@ function setUpDevTools() {
|
||||
}
|
||||
}
|
||||
|
||||
setUpProfile();
|
||||
setUpProcess();
|
||||
setUpConsole();
|
||||
setUpTimers();
|
||||
|
||||
Reference in New Issue
Block a user