react-native/Libraries/JavaScriptAppEngine/Initialization
James Ide 6ec4d65aec Set up the RN JS environment before requiring other modules
Summary: Set up the polyfills for console and process before initializing other modules. Some modules do work (e.g. call `invariant`) when they are first required, so requiring the DefaultInjection module at the beginning ensures we have a consistent JS environment.
Closes https://github.com/facebook/react-native/pull/3526

Reviewed By: spicyj

Differential Revision: D2560340

Pulled By: frantic

fb-gh-sync-id: 44c743e3212ff1dcdbe0169041dfd3ea8f1a54f7
2015-10-22 15:48:28 -07:00
..
__tests__ [ReactNative] Ignore bad inputs to parseErrorStack 2015-06-22 10:09:08 -08:00
ExceptionsManager.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
InitializeJavaScriptAppEngine.js Set up the RN JS environment before requiring other modules 2015-10-22 15:48:28 -07:00
SourceMap.js [react-packager] Rewrite dependency graph (support node_modules, speed, fix bugs etc) 2015-06-19 18:05:18 -08:00
checkFlowAtRuntime.js Make flow check async 2015-08-17 03:13:16 -07:00
loadSourceMap.js Fix 16 linter warnings in Examples/ 2015-10-16 04:03:23 -07:00
parseErrorStack.js Make flow check async 2015-08-17 03:13:16 -07:00
source-map-url.js [ReactNative] Use ASCII double quotes 2015-07-24 13:16:25 -08:00