TradingPal / react-native-highcharts

📈 Add Highcharts charts to react-native app for IOS and Android
https://github.com/TradingPal/react-native-highcharts
256 stars 158 forks source link

Config parsing bug #16

Closed nkov closed 7 years ago

nkov commented 7 years ago

There were some situations where item was null, which actually has the strange case in javascript: typeof null === 'object', so this case caused an error on item.length. Deferring to the last case for when item is null works.

donaldmorton commented 7 years ago

Thanks for the PR @nkov