summaryrefslogtreecommitdiff
path: root/examples/integrations-playground/src/components/calc-add.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/integrations-playground/src/components/calc-add.js (renamed from examples/integrations-playground/src/components/Test.js)6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/integrations-playground/src/components/Test.js b/examples/integrations-playground/src/components/calc-add.js
index 7f565f777..b0b3978bf 100644
--- a/examples/integrations-playground/src/components/Test.js
+++ b/examples/integrations-playground/src/components/calc-add.js
@@ -1,8 +1,6 @@
import { LitElement, html } from 'lit';
-export const tagName = 'calc-add';
-
-class CalcAdd extends LitElement {
+export class CalcAdd extends LitElement {
static get properties() {
return {
num: {
@@ -16,4 +14,4 @@ class CalcAdd extends LitElement {
}
}
-customElements.define(tagName, CalcAdd);
+customElements.define('calc-add', CalcAdd);