Skip to content

Commit 33602ee

Browse files
committed
JS: Convert some comments to JSX
1 parent c67c585 commit 33602ee

File tree

1 file changed

+2
-2
lines changed
  • javascript/ql/test/query-tests/Security/CWE-079/DomBasedXss

1 file changed

+2
-2
lines changed

javascript/ql/test/query-tests/Security/CWE-079/DomBasedXss/tooltip.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ function tooltips() {
77
return <span>
88
<span data-tip={source}/>
99
<span data-tip={source} data-html={false} />
10-
<span data-tip={source} data-html="true" /> // $ Alert
11-
<span data-tip={source} data-html={true} /> // $ Alert
10+
<span data-tip={source} data-html="true" /> { /* $ Alert */ }
11+
<span data-tip={source} data-html={true} /> { /* $ Alert */ }
1212
<ReactTooltip />
1313
</span>
1414
}

0 commit comments

Comments
 (0)