diff --git a/index.js b/index.js
index dfa34d3..14690a0 100644
--- a/index.js
+++ b/index.js
@@ -27,7 +27,7 @@ class WCBlink extends HTMLElement {
}
- `;
+ `
}
}
diff --git a/package.json b/package.json
index aae048c..2ebda3b 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,10 @@
"devDependencies": {
"esmtk": "^0.1.1",
"rollup-plugin-terser": "^5.2.0"
+ },
+ "standard": {
+ "ignore": [
+ "index.js"
+ ]
}
}
diff --git a/src/wc-blink.js b/src/wc-blink.js
index 7c16e6a..b591325 100644
--- a/src/wc-blink.js
+++ b/src/wc-blink.js
@@ -1,11 +1,11 @@
/* eslint no-undef: 0 */
export class WCBlink extends HTMLElement {
constructor () {
- super();
- const template = document.createElement('template');
- template.innerHTML = WCBlink.template();
- this.attachShadow({ mode: 'open' });
- this.shadowRoot.appendChild(document.importNode(template.content, true));
+ super()
+ const template = document.createElement('template')
+ template.innerHTML = WCBlink.template()
+ this.attachShadow({ mode: 'open' })
+ this.shadowRoot.appendChild(document.importNode(template.content, true))
}
static template () {
@@ -27,8 +27,8 @@ export class WCBlink extends HTMLElement {
}
- `;
+ `
}
}
-customElements.define('wc-blink', WCBlink);
+customElements.define('wc-blink', WCBlink)