Skip to content

Commit 289a44c

Browse files
chore(addon/components/paper-switch): tidies whitespace injected into the DOM due to classes.
1 parent 22acf9e commit 289a44c

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

addon/components/paper-switch.hbs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<md-switch
22
class='paper-switch md-default-theme
3-
{{if @accent " md-accent"}}
4-
{{if @primary " md-primary"}}
5-
{{if @warn " md-warn"}}
6-
{{if this.dragging " md-dragging"}}
7-
{{if this.focused " md-focused"}}
8-
{{if this.value " md-checked"}}
9-
{{@class}}'
3+
{{~if @accent " md-accent"}}
4+
{{~if @primary " md-primary"}}
5+
{{~if @warn " md-warn"}}
6+
{{~if this.dragging " md-dragging"}}
7+
{{~if this.focused " md-focused"}}
8+
{{~if this.value " md-checked"}} {{@class}}'
109
disabled={{this.disabled}}
1110
tabindex={{if this.disabled '-1' '0'}}
1211
{{did-insert this.didInsertNode}}

0 commit comments

Comments
 (0)