mirror of
https://github.com/home-assistant/frontend.git
synced 2026-05-02 22:52:56 +01:00
@@ -9,16 +9,8 @@
|
||||
<script>
|
||||
(function() {
|
||||
if (!window.latestJS) {
|
||||
<% if (useRollup) { %>
|
||||
_ls("/static/js/s.min.js").onload = function() {
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
System.import("<%= entry %>");
|
||||
<% } %>
|
||||
}
|
||||
<% } else { %>
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
_ls("<%= entry %>", true);
|
||||
<% } %>
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
_ls("<%= entry %>", true);
|
||||
<% } %>
|
||||
}
|
||||
})();
|
||||
|
||||
@@ -97,16 +97,8 @@
|
||||
<script>
|
||||
if (!window.latestJS) {
|
||||
window.customPanelJS = "<%= es5CustomPanelJS %>";
|
||||
<% if (useRollup) { %>
|
||||
_ls("/static/js/s.min.js").onload = function() {
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
System.import("<%= entry %>");
|
||||
<% } %>
|
||||
}
|
||||
<% } else { %>
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
_ls("<%= entry %>", true);
|
||||
<% } %>
|
||||
<% for (const entry of es5EntryJS) { %>
|
||||
_ls("<%= entry %>", true);
|
||||
<% } %>
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user