diff options
author | 2021-07-13 12:28:50 +0000 | |
---|---|---|
committer | 2021-07-13 12:28:50 +0000 | |
commit | 59f6792b00c8af2c89bef6d0a9bd31208e466607 (patch) | |
tree | a8eed467ede8385b446f0f0cf230ebc5dfd2511d /examples/framework-lit/src | |
parent | 48851c9d256b78c8e99e72d91ed98209a6a99e93 (diff) | |
download | astro-59f6792b00c8af2c89bef6d0a9bd31208e466607.tar.gz astro-59f6792b00c8af2c89bef6d0a9bd31208e466607.tar.zst astro-59f6792b00c8af2c89bef6d0a9bd31208e466607.zip |
[ci] yarn format
Diffstat (limited to 'examples/framework-lit/src')
-rw-r--r-- | examples/framework-lit/src/components/Counter.js | 6 | ||||
-rw-r--r-- | examples/framework-lit/src/components/Test.js | 10 |
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); |