The example is not functional in Safari (both desktop and mobile)
rudin opened this issue · 1 comments
rudin commented
The example works great in Chrome but is not functional in Safari (both desktop and mobile). Might have to do with Babel?
The error says: TypeError: undefined is not a function (evaluating 'Number.isInteger(selectedIndex)')
damusnet commented
Nice catch! Number.isInteger()
is not supported in Safari but it is in Chrome and Firefox where I tested the examples. Babel provides a polyfill for those methods that can be included via Browserify or in the Browser. I'll add it in the examples and mention it in the doc.