-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4a001da
commit 44a67cb
Showing
5 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
7 changes: 7 additions & 0 deletions
7
...ixtures/adjacent-text-nodes/preserve-comments-off/nonempty-literals-outside/expected.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<x-comments-text> | ||
<template shadowrootmode="open"> | ||
<span> | ||
totoyolototoyolo | ||
</span> | ||
</template> | ||
</x-comments-text> |
3 changes: 3 additions & 0 deletions
3
...s__/fixtures/adjacent-text-nodes/preserve-comments-off/nonempty-literals-outside/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const tagName = 'x-comments-text'; | ||
export { default } from 'x/comments-text'; | ||
export * from 'x/comments-text'; |
3 changes: 3 additions & 0 deletions
3
...reserve-comments-off/nonempty-literals-outside/modules/x/comments-text/comments-text.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<span>toto{foo}yolo{bar}toto{baz}yolo</span> | ||
</template> |
7 changes: 7 additions & 0 deletions
7
.../preserve-comments-off/nonempty-literals-outside/modules/x/comments-text/comments-text.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { LightningElement } from 'lwc'; | ||
|
||
export default class extends LightningElement { | ||
foo = ''; | ||
bar = undefined; | ||
baz = null; | ||
} |