diff options
Diffstat (limited to 'integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js')
-rw-r--r-- | integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js b/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js deleted file mode 100644 index 21698ea89..000000000 --- a/integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js +++ /dev/null @@ -1,72 +0,0 @@ -const trailing = <span>Hello </span>; -const leading = <span> John</span>; - -/* prettier-ignore */ -const extraSpaces = <span>Hello John</span>; - -const trailingExpr = <span>Hello {name}</span>; -const leadingExpr = <span>{greeting} John</span>; - -/* prettier-ignore */ -const multiExpr = <span>{greeting} {name}</span>; - -/* prettier-ignore */ -const multiExprSpaced = <span> {greeting} {name} </span>; - -/* prettier-ignore */ -const multiExprTogether = <span> {greeting}{name} </span>; - -/* prettier-ignore */ -const multiLine = <span> - - Hello - -</span> - -/* prettier-ignore */ -const multiLineTrailingSpace = <span> - Hello - John -</span> - -/* prettier-ignore */ -const multiLineNoTrailingSpace = <span> - Hello - John -</span> - -/* prettier-ignore */ -const escape = <span> - <Hi> -</span> - -/* prettier-ignore */ -const escape2 = <Comp> - <Hi> -</Comp> - -/* prettier-ignore */ -const escape3 = <> - <Hi> -</> - -const injection = <span>Hi{"<script>alert();</script>"}</span>; - -let value = "World"; -const evaluated = <span>Hello {value + "!"}</span>; - -let number = 4 + 5; -const evaluatedNonString = <span>4 + 5 = {number}</span>; - -const newLineLiteral = ( - <div> - {s} - {"\n"}d - </div> -); - -const trailingSpace = <div>{expr}</div>; - -const trailingSpaceComp = <Comp>{expr}</Comp>; - -const trailingSpaceFrag = <>{expr}</>; |