Skip to content

Commit d10a016

Browse files
committed
Add missing closing quote and use double-quotes
Since the examples are already using double-quotes.
1 parent f8dc139 commit d10a016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

learn/components/defining-a-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Another thing you could do is move the definition into a static method on the cl
183183
class MyElement extends HTMLElement {
184184

185185
static define() {
186-
customElements.define('my-element, MyElement)
186+
customElements.define("my-element", MyElement)
187187
}
188188

189189
}

0 commit comments

Comments
 (0)