mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
291668a40c
Summary: Our Babel plugin that strips irrelevant platform-specific code does not currently know how to deal with early return statements. This minor change to a couple call sites enables the output bundle for Android to omit code specific to iOS. Changelog: [Internal] Reviewed By: ejanzer Differential Revision: D24139922 fbshipit-source-id: 467c0c38dd45679b889a8a94d85f73fd969e5b36