Skip to content

Commit

Permalink
chore(addon/components/paper-switch): tidies whitespace injected into…
Browse files Browse the repository at this point in the history
… the DOM due to classes.
  • Loading branch information
matthewhartstonge committed Dec 5, 2024
1 parent 22acf9e commit 289a44c
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions addon/components/paper-switch.hbs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<md-switch
class='paper-switch md-default-theme
{{if @accent " md-accent"}}
{{if @primary " md-primary"}}
{{if @warn " md-warn"}}
{{if this.dragging " md-dragging"}}
{{if this.focused " md-focused"}}
{{if this.value " md-checked"}}
{{@class}}'
{{~if @accent " md-accent"}}
{{~if @primary " md-primary"}}
{{~if @warn " md-warn"}}
{{~if this.dragging " md-dragging"}}
{{~if this.focused " md-focused"}}
{{~if this.value " md-checked"}} {{@class}}'
disabled={{this.disabled}}
tabindex={{if this.disabled '-1' '0'}}
{{did-insert this.didInsertNode}}
Expand Down

0 comments on commit 289a44c

Please sign in to comment.