react-native/Libraries/JavaScriptAppEngine
Chester Wood e966cd1041 Set navigator.product to ReactNative
Summary: Fix for [Issue 1331](https://github.com/facebook/react-native/issues/1331). Sets navigator.product to ReactNative and navigator.productSub to the version string in package.json.

Note that the code requires package.json, which works fine in the RN packager, but webpack users will probably a need to configure a json loader in their config file.

Tested using UIExplorer and console.log printout of the product variables in xcode and Chrome debugger.
Closes https://github.com/facebook/react-native/pull/4083

Reviewed By: svcscm

Differential Revision: D2696881

Pulled By: vjeux

fb-gh-sync-id: 511446432dcd0ec658100715129c77153e743423
2015-11-25 12:45:28 -08:00
..
Initialization Set navigator.product to ReactNative 2015-11-25 12:45:28 -08:00
System/JSTimers Use for-loop instead of forEach() in a hot path 2015-11-25 07:24:31 -08:00
polyfills [react-native] Make document.js into a polyfill. Fixes #1149 2015-05-13 17:50:21 -08:00