Closed jfdumont closed 6 years ago
+1
+1, can't upgrade my project from Polymer 2 to Polymer 3 until this is fixed :(
I suspect it has something to do with intl-messageformat.js:
(function() {
// ...
}).call(this);
After bundling, this seems to be undefined.
cc @e111077
Hello, this is because of a bunk version of released app-localize-behavior
. The previous release worked just fine. You might want to pin your version to3.0.0-pre.17
. I'll udpate this thread when we release the fixed version again
Note: this version will also require you to include the yahoo/intl-messageformat polyfill manually
+1
this still occurs in 3.0.0-pre.19. temporary solution would be modify the end of intl-messageformat.min.js from .call(this) to .call(window)
Hello, we have decoupled the polyfill from the element in @latest
pre.21. (@next
pre.20 is still broken)
This means that you will have to manually include the polyfill in a script tag of the page that is using this element for non FF browsers.
This will most-likely be the last prerelease before we manually comb through the elements and fix them up for 3.0.0
Description
with polymer-3-starter-kit fresh install
added to my-view1.js
Actual outcome
chrome console when loading page : Uncaught TypeError: Cannot set property 'IntlMessageFormat' of undefined at parser.js:586 at parser.js:586
Translation works on Firefox
Browsers Affected