mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Bug 1560061
- Fix linting issues in test_connectRoot_webcomponent.html r=gandalf CLOSED TREE
--HG-- extra : amend_source : b2d5be652518b517986256942c970bba2bbe1c1e
This commit is contained in:
parent
0f86a6b30b
commit
aaec1d24b3
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user