malchata/yall.js

Operator '...' causes an error on some iOS and MacOS

ocprofi opened this issue · 2 comments

In params array operator '...' in string '...userOptions' causes an error on some iOS and MacOS.

Hi, thanks for raising this issue.

The current production version does not use the spread operator. The source does, but it gets transformed to a more broadly compatible form.

I'm assuming you're dropping in the development version from the src folder. This may work in some modern browsers, but it will not work everywhere. Grab the latest from the release page and use that instead. If I'm mistaken in my assumption, please let me know.

Closing due to inactivity. If this is still an issue, please feel free to reply in the thread and I'll reassess.