Skip to content

Commit 8343d7c

Browse files
committed
Revert change to lit-html.js
1 parent 195ae1a commit 8343d7c

2 files changed

Lines changed: 33 additions & 33 deletions

File tree

tests/format/js/multiparser-html/__snapshots__/format.test.js.snap

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -292,24 +292,24 @@ class MyElement extends LitElement {
292292
render() {
293293
return html\`
294294
<style
295-
296-
295+
296+
297297
>
298298
.mood { color: green; }
299299
</style
300-
301-
302-
300+
301+
302+
303303
>
304304
305-
Web Components are <span
306-
307-
305+
Web Components are <span
306+
307+
308308
class="mood" >\${
309309
this.mood
310-
310+
311311
}</span
312-
312+
313313
>!
314314
\`;
315315
}
@@ -360,7 +360,7 @@ html\`
360360
"></div>
361361
\`
362362
html\`
363-
<div style=\${
363+
<div style=\${
364364
foo
365365
}></div>
366366
\`
@@ -539,24 +539,24 @@ class MyElement extends LitElement {
539539
render() {
540540
return html\`
541541
<style
542-
543-
542+
543+
544544
>
545545
.mood { color: green; }
546546
</style
547-
548-
549-
547+
548+
549+
550550
>
551551
552-
Web Components are <span
553-
554-
552+
Web Components are <span
553+
554+
555555
class="mood" >\${
556556
this.mood
557-
557+
558558
}</span
559-
559+
560560
>!
561561
\`;
562562
}
@@ -607,7 +607,7 @@ html\`
607607
"></div>
608608
\`
609609
html\`
610-
<div style=\${
610+
<div style=\${
611611
foo
612612
}></div>
613613
\`

tests/format/js/multiparser-html/lit-html.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,24 @@ class MyElement extends LitElement {
1515
render() {
1616
return html`
1717
<style
18-
19-
18+
19+
2020
>
2121
.mood { color: green; }
2222
</style
23-
24-
25-
23+
24+
25+
2626
>
2727
28-
Web Components are <span
29-
30-
28+
Web Components are <span
29+
30+
3131
class="mood" >${
3232
this.mood
33-
33+
3434
}</span
35-
35+
3636
>!
3737
`;
3838
}
@@ -83,7 +83,7 @@ html`
8383
"></div>
8484
`
8585
html`
86-
<div style=${
86+
<div style=${
8787
foo
8888
}></div>
8989
`

0 commit comments

Comments
 (0)