Detach RN Bridge and CS

Reviewed By: danzimm

Differential Revision: D7833851

fbshipit-source-id: 14533c519f08bd39d69f5203040ad54415228f9f
This commit is contained in:
Dmitry Zakharov 2018-05-11 10:54:22 -07:00 committed by Facebook Github Bot
parent d01ab66b47
commit a93e281428
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ function createErrorFromErrorData(errorData: {message: string}): ExtendedError {
let NativeModules: {[moduleName: string]: Object} = {}; let NativeModules: {[moduleName: string]: Object} = {};
if (global.nativeModuleProxy) { if (global.nativeModuleProxy) {
NativeModules = global.nativeModuleProxy; NativeModules = global.nativeModuleProxy;
} else { } else if (!global.nativeExtensions) {
const bridgeConfig = global.__fbBatchedBridgeConfig; const bridgeConfig = global.__fbBatchedBridgeConfig;
invariant( invariant(
bridgeConfig, bridgeConfig,