-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix inline-plugin's Platform.select transform when used with ObjectMe…
…thod Summary: Previously, metro was transforming `Platform.select` calls with ObjectMethod properties into `undefined`. This transforms these properties into named FunctionExpressions instead. I believe this should preserve the original semantics. Reviewed By: MichaReiser Differential Revision: D25719371 fbshipit-source-id: 08473eee851b4e12ea753bc45595acec41363351
- Loading branch information
1 parent
9b45643
commit 4d9908b
Showing
2 changed files
with
101 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters