PolymerElements / app-localize-behavior

Polymer behaviour to help internationalize your application
48 stars 55 forks source link

remove intl-messageformat polyfill #122

Closed e111077 closed 6 years ago

e111077 commented 6 years ago

the intl-messageformat polyfill does not support es6 modules as it is an IIFE invoked by .call(this) (and this is undefined in a module import tbh it should just be window). It works just fine if you move the intl-messageformat polyfill out of app-localize-behavior and into a script tag in the test file.

e111077 commented 6 years ago

Spoke offline. We have decided to do this in 3.0 and after the modularization

e111077 commented 6 years ago

Closed by #130