diff options
author | 2022-06-22 23:21:48 -0700 | |
---|---|---|
committer | 2022-06-22 23:21:48 -0700 | |
commit | 729d445b6885f69dd2c6355f38707bd42851c791 (patch) | |
tree | f87a7c408929ea3f57bbb7ace380cf869da83c0e /integration/bunjs-only-snippets/solid-dom-fixtures/textInterpolation/code.js | |
parent | 25f820c6bf1d8ec6d444ef579cc036b8c0607b75 (diff) | |
download | bun-jarred/rename.tar.gz bun-jarred/rename.tar.zst bun-jarred/rename.zip |
change the directory structurejarred/rename
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}</>; |