1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-02-26 20:54:49 +00:00
Files
frontend/src/html/_js_base.html.template
Paulus Schoutsen 7e281f66c2 Rollup (#5995)
2020-05-22 23:05:47 -07:00

25 lines
810 B
Plaintext

<script>
function _ls(src) {
var doc = document.documentElement;
var script = doc.insertBefore(
document.createElement("script"),
doc.lastChild
);
script.defer = true;
script.src = src;
return script;
}
window.Polymer = {
lazyRegister: true,
useNativeCSSProperties: true,
dom: "shadow",
suppressTemplateNotifications: true,
suppressBindingNotifications: true,
};
if (!("customElements" in window &&
"content" in document.createElement("template"))) {
document.write("<script src='/static/polyfills/webcomponents-bundle.js'><"+"/script>");
}
var isS101 = /\s+Version\/10\.1(?:\.\d+)?\s+Safari\//.test(navigator.userAgent);
</script>