mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-26 05:36:37 +00:00
18 lines
360 B
Plaintext
18 lines
360 B
Plaintext
<script crossorigin="use-credentials">
|
|
if (isModern) {
|
|
<% for (const entry of latestEntryJS) { %>
|
|
import("<%= entry %>");
|
|
<% } %>
|
|
window.latestJS = true;
|
|
}
|
|
</script>
|
|
<script>
|
|
(function() {
|
|
if (!window.latestJS) {
|
|
<% for (const entry of es5EntryJS) { %>
|
|
_ls("<%= entry %>", true);
|
|
<% } %>
|
|
}
|
|
})();
|
|
</script>
|