summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/framework-lit/src/components/Counter.js6
-rw-r--r--examples/framework-lit/src/components/Test.js10
2 files changed, 7 insertions, 9 deletions
diff --git a/examples/framework-lit/src/components/Counter.js b/examples/framework-lit/src/components/Counter.js
index c901096d5..063d338e4 100644
--- a/examples/framework-lit/src/components/Counter.js
+++ b/examples/framework-lit/src/components/Counter.js
@@ -6,8 +6,8 @@ class Counter extends LitElement {
static get properties() {
return {
count: {
- type: Number
- }
+ type: Number,
+ },
};
}
@@ -31,4 +31,4 @@ class Counter extends LitElement {
}
}
-customElements.define(tagName, Counter); \ No newline at end of file
+customElements.define(tagName, Counter);
diff --git a/examples/framework-lit/src/components/Test.js b/examples/framework-lit/src/components/Test.js
index 75d592871..182755c79 100644
--- a/examples/framework-lit/src/components/Test.js
+++ b/examples/framework-lit/src/components/Test.js
@@ -6,16 +6,14 @@ class CalcAdd extends LitElement {
static get properties() {
return {
num: {
- type: Number
- }
+ type: Number,
+ },
};
}
render() {
- return html`
- <div>Number: ${this.num}</div>
- `;
+ return html` <div>Number: ${this.num}</div> `;
}
}
-customElements.define(tagName, CalcAdd); \ No newline at end of file
+customElements.define(tagName, CalcAdd);