mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-27 04:04:28 +01:00
Move globalThis polyfill to compatibility, add more compatibility (#16386)
This commit is contained in:
@@ -41,9 +41,6 @@
|
||||
<%= renderTemplate("_js_base.html.template") %>
|
||||
<%= renderTemplate("_preload_roboto.html.template") %>
|
||||
<script crossorigin="use-credentials">
|
||||
if (!window.globalThis) {
|
||||
window.globalThis = window;
|
||||
}
|
||||
// Safari 12 and below does not have a compliant ES2015 implementation of template literals, so we ship ES5
|
||||
if (!isS11_12) {
|
||||
<% for (const entry of latestEntryJS) { %>
|
||||
|
||||
Reference in New Issue
Block a user