Skip to content

Commit

Permalink
remove unused code from demo
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Vroege <[email protected]>
  • Loading branch information
woutervroege committed May 14, 2021
1 parent ae1325f commit 457e6b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/addons/properties-changed-handler.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class DemoElement extends PropertiesChangedHandler(PropertiesChangedCallback(ObservedProperties(HTMLElement))) {

static get observedProperties() {
return ['firstName', 'lastName', 'active']
return ['firstName', 'lastName']
}

static get propertiesChangedHandlers() {
Expand All @@ -35,7 +35,6 @@
customElements.whenDefined('demo-element').then(() => {
demo.firstName = 'John';
demo.lastName = 'Doe';
demo.active = true;
})
</script>

Expand Down

0 comments on commit 457e6b1

Please sign in to comment.