Force usage of polyfill
See original GitHub issue- I am on the latest ember-intl version
- I have searched the issues of this repo and believe that this is not a duplicate
I’m running into issues related to #71 on older versions of Android Chromium Webview and I believe I’d be able to solve my problems if there were a way to force ember-intl
to use IntlPolyfill
; looking around the codebase, there doesn’t seem to be any way to do this, and the window.Intl
property is read-only (window.Intl = … and Object.defineProperty don’t work).
Would you be interested in a PR to allow this? Can you think of any reasons this might be a terrible idea?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to force Polymer to use polyfill - Stack Overflow
Polymer.dom = 'shadow ' forces Polymer to use the shadow DOM by default (either the polyfilled one if you used webcomponents.js or natively ......
Read more >Force some polyfill into de bundle · Issue #2969 · vercel/next.js
I need to support some older browsers, so I would like to always include some polyfills (Intl, Object. assign and Promise) in the...
Read more >How to load polyfills only when needed
I know three ready-to-use approaches for that: polyfill.io; the module / nomodule pattern; the useBuiltIns option in @babel/preset-env ...
Read more >Polyfill JavaScript Only When You Need To - CSS-Tricks
Polyfill.io reads the User-Agent (UA) header of each request and returns polyfills that are suitable for the requesting browser. Tailor the ...
Read more >How to use polyfills in your React app - LogRocket Blog
Polyfills are essential to using the latest and greatest tools in your apps. Learn how to build them from scratch in this post....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll try that; if that works, that’s preferable to my fork/spike, though it’d feel a little hacky to take advantage of those platform-provided properties being mutable even though
window.Intl
is not.This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.