Bug 1560061 - Fix linting issues in test_connectRoot_webcomponent.html r=gandalf CLOSED TREE

--HG--
extra : amend_source : b2d5be652518b517986256942c970bba2bbe1c1e
This commit is contained in:
Mihai Alexandru Michis 2019-06-27 00:38:03 +03:00
parent 0f86a6b30b
commit aaec1d24b3

View File

@ -11,8 +11,8 @@
class FluentWidget extends HTMLElement {
constructor() {
super();
const shadowRoot = this.attachShadow({mode: 'open'});
const t = document.querySelector('#fluent-widget-template');
const shadowRoot = this.attachShadow({mode: "open"});
const t = document.querySelector("#fluent-widget-template");
const instance = t.content.cloneNode(true);
shadowRoot.appendChild(instance);
}
@ -40,7 +40,7 @@
document.domLoc.setAttributes(label, "key1");
}
}
customElements.define('fluent-widget', FluentWidget);
customElements.define("fluent-widget", FluentWidget);
</script>
<script type="application/javascript">
"use strict";