diff --git a/flow/react-native-host-hooks.js b/flow/react-native-host-hooks.js index 7c0a1b5c3910a..b52951fcd3a3d 100644 --- a/flow/react-native-host-hooks.js +++ b/flow/react-native-host-hooks.js @@ -18,7 +18,7 @@ declare module 'deepFreezeAndThrowOnMutationInDev' { declare function exports(obj : T) : T; } declare module 'flattenStyle' { } -declare module 'InitializeJavaScriptAppEngine' { } +declare module 'InitializeCore' { } declare module 'RCTEventEmitter' { declare function register() : void; } diff --git a/gulpfile.js b/gulpfile.js index dd086ba534041..71fd70c9ca119 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -145,7 +145,7 @@ var moduleMapReactNative = Object.assign( deepDiffer: 'react-native/lib/deepDiffer', deepFreezeAndThrowOnMutationInDev: 'react-native/lib/deepFreezeAndThrowOnMutationInDev', flattenStyle: 'react-native/lib/flattenStyle', - InitializeJavaScriptAppEngine: 'react-native/lib/InitializeJavaScriptAppEngine', + InitializeCore: 'react-native/lib/InitializeCore', RCTEventEmitter: 'react-native/lib/RCTEventEmitter', TextInputState: 'react-native/lib/TextInputState', UIManager: 'react-native/lib/UIManager', diff --git a/src/renderers/native/ReactNativeInjection.js b/src/renderers/native/ReactNativeInjection.js index 16b8564b588ea..d3000c8d0a439 100644 --- a/src/renderers/native/ReactNativeInjection.js +++ b/src/renderers/native/ReactNativeInjection.js @@ -17,7 +17,7 @@ * ensures it exists in the dependency graph and can be `require`d. * TODO: require this in packager, not in React #10932517 */ -require('InitializeJavaScriptAppEngine'); +require('InitializeCore'); var EventPluginHub = require('EventPluginHub'); var EventPluginUtils = require('EventPluginUtils'); diff --git a/src/renderers/native/ReactNativeStackInjection.js b/src/renderers/native/ReactNativeStackInjection.js index 83a5bcd4d4b6a..8b85a67e9bd5a 100644 --- a/src/renderers/native/ReactNativeStackInjection.js +++ b/src/renderers/native/ReactNativeStackInjection.js @@ -17,7 +17,7 @@ * ensures it exists in the dependency graph and can be `require`d. * TODO: require this in packager, not in React #10932517 */ -require('InitializeJavaScriptAppEngine'); +require('InitializeCore'); var React = require('React'); var ReactComponentEnvironment = require('ReactComponentEnvironment'); diff --git a/src/renderers/native/__mocks__/InitializeJavaScriptAppEngine.js b/src/renderers/native/__mocks__/InitializeCore.js similarity index 100% rename from src/renderers/native/__mocks__/InitializeJavaScriptAppEngine.js rename to src/renderers/native/__mocks__/InitializeCore.js