react-native/Libraries/JavaScriptAppEngine/Initialization
Tim Yung eadbb919c3 RN: Scrub InitializeJavaScriptAppEngine
Summary:
Cleans up `InitializeJavaScriptAppEngine` in a few ways:

- Fix bug where `global.navigation.geolocation` was being assigned to `global`.
- Rename `polyfillGlobal` to `defineProperty`.
- Rename `polyfillLazyGlobal` to `defineLazyProperty`.
- Inline `polyfillIfNeeded` (only used once).
- Rename `setUpMapAndSet` to `setUpCollections`.
- Add `flow`.

I've changed `defineProperty` and `defineLazyProperty` to always accept an `object` property since it is not only used for defining properties on `global`.

Reviewed By: davidaurelio

Differential Revision: D3472147

fbshipit-source-id: 492da62a303cf040211c386fa6260789e50b43c1
2016-06-23 15:13:56 -07:00
..
__tests__ Update Jest APIs on fbsource 2016-04-27 19:16:32 -07:00
ExceptionsManager.js Extract symbolicateStackTrace into its own module 2016-06-01 13:59:16 -07:00
InitializeJavaScriptAppEngine.js RN: Scrub InitializeJavaScriptAppEngine 2016-06-23 15:13:56 -07:00
getDevServer.js Extract getDevServerURL into reusable module 2016-06-01 13:59:16 -07:00
parseErrorStack.js Extract symbolicateStackTrace into its own module 2016-06-01 13:59:16 -07:00
source-map-url.js Hot Loading Sourcemaps 2016-01-27 14:55:36 -08:00
symbolicateStackTrace.js Extract symbolicateStackTrace into its own module 2016-06-01 13:59:16 -07:00