react-native/Libraries/ReactNative
Matt Hargett 84affbd6a3 Loosen Platform check to allow better code sharing for out-of-tree platforms
Summary:
Don't lock out other non-iOS platforms (e.g. Windows) with an overly
specific check. This change allows this JS file to be re-used instead of copied and modified. There was one other instance of this pattern, but I'll submit it separate for easier cherry-picking.

Tested Android and iOS playground on simulators.

 [GENERAL] [ENHANCEMENT] - some core ReactNative JS library files will be easier to re-use across RN platforms.
Closes https://github.com/facebook/react-native/pull/18308

Differential Revision: D7230803

Pulled By: hramos

fbshipit-source-id: 11e03183535a7453cee00dc1e795c27f2fd2bf5d
2018-03-12 08:43:05 -07:00
..
AppContainer.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
AppRegistry.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
FabricUIManager.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
I18nManager.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
UIManager.js Loosen Platform check to allow better code sharing for out-of-tree platforms 2018-03-12 08:43:05 -07:00
UIManagerStatTracker.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
YellowBox.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
queryLayoutByID.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
renderApplication.js Replaced unstable_AsyncComponent with unstable_AsyncMode 2018-02-20 17:46:53 -08:00
renderFabricSurface.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
requireFabricComponent.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
requireNativeComponent.js @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
verifyPropTypes.js propTypes are optional for native components 2018-03-08 15:56:09 -08:00