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
..
2015-07-24 08:41:58 -08:00
2015-08-06 15:49:35 -08:00
2015-03-25 11:09:54 -08:00
2015-10-21 13:19:28 -07:00
2015-10-21 07:02:25 -07:00
2015-10-21 15:18:40 -07:00
2015-09-08 03:34:33 -08:00
2015-10-19 06:10:22 -07:00
2015-07-24 08:41:58 -08:00
2015-10-16 04:03:23 -07:00
2015-10-22 05:53:26 -07:00
2015-07-24 08:41:58 -08:00
2015-04-15 06:06:29 -08:00