react-native/packager/react-packager
David Aurelio 8c3db9782e inline `Platform.select`
Summary: We are already inlining `Platform.OS`. This diff adds support to inline calls to `Platform.select` with an object literal as first argument. The transform will replace the call with the property value corresponding to the platform, or `undefined` if it does not exist.

Reviewed By: frantic

Differential Revision: D3385391

fbshipit-source-id: bb068d17948ed84e381707faeaa0450399c2f306
2016-06-05 05:58:20 -07:00
..
src inline `Platform.select` 2016-06-05 05:58:20 -07:00
.npmignore
index.js Delete SocketInterface code 2016-04-11 14:38:26 -07:00
rn-babelrc.json Use "babel-preset-react-native" 2016-02-03 08:15:32 -08:00