Open partap opened 7 years ago
How can we get this merged in? It is failing on iOS (Safari / Chrome).
Thinking about that, the tooling (rollup) shouldn't be adding a "use strict" on top of this module, because it isn't intended to be run on a strict environment. It should add only for your own ES6 modules.
I ran across this error from an embedded STB version of Opera when including this library in a rollup bundle:
"Uncaught SyntaxError: In strict mode code, functions can only be declared at top level or immediately within another function."
It was preventing the entire bundle from being loaded... these changes satisfy the parser.