react-native/Libraries/JavaScriptAppEngine
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
..
Initialization Set up the RN JS environment before requiring other modules 2015-10-22 15:48:28 -07:00
System/JSTimers Fixed null argument errors for timers and layout animations 2015-08-01 06:40:27 -08:00
polyfills [react-native] Make document.js into a polyfill. Fixes #1149 2015-05-13 17:50:21 -08:00