SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fail gracefully for node<4 in react-native-cli (const->var)

Summary:
`const` declarations were recently introduced into https://github.com/facebook/react-native/blob/master/react-native-cli/index.js, which runs before any transpilation so needs to be old-school. Replace them with `var`.

Fixes https://github.com/facebook/react-native/issues/11603
Closes https://github.com/facebook/react-native/pull/11615

Differential Revision: D5148448

Pulled By: shergin

fbshipit-source-id: ea23cdd26c0c1d0ac7f108aa9bf185abecfe399c
R
Rob Hogan committed
699a0bef3b2e6be3544db2486af5fdf18b224372
Parent: 46b3a89
Committed by Facebook Github Bot <facebook-github-bot@users.noreply.github.com> on 6/6/2017, 6:20:47 PM