Skip to content

Commit f7532c0

Browse files
committed
JS: Remove blank line
1 parent 122f68e commit f7532c0

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
| AmbiguousIdAttribute.html:4:5:4:14 | id=first | This element has the same id as $@. | AmbiguousIdAttribute.html:5:5:5:14 | id=first | another element |
22
| AmbiguousIdAttribute_fragment.html:2:7:2:16 | id=first | This element has the same id as $@. | AmbiguousIdAttribute_fragment.html:3:7:3:16 | id=first | another element |
3-
| tst.js:17:22:17:33 | id="theDiff" | This element has the same id as $@. | tst.js:17:46:17:57 | id="theDiff" | another element |
3+
| tst.js:16:22:16:33 | id="theDiff" | This element has the same id as $@. | tst.js:16:46:16:57 | id="theDiff" | another element |
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
| DuplicateAttributes.html:1:4:1:28 | href=https://semmle.com | This attribute $@. | DuplicateAttributes.html:1:30:1:54 | href=https://semmle.com | is duplicated later |
22
| tst.js:7:4:7:28 | href="h ... le.com" | This attribute $@. | tst.js:7:30:7:54 | href="h ... le.com" | is duplicated later |
3-
| tst.js:19:17:19:28 | id="theDiff" | This attribute $@. | tst.js:19:30:19:41 | id="theDiff" | is duplicated later |
3+
| tst.js:18:17:18:28 | id="theDiff" | This attribute $@. | tst.js:18:30:18:41 | id="theDiff" | is duplicated later |

javascript/ql/test/query-tests/DOM/HTML/tst.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ var div2 = <div id="theDiff"></div>;
1111

1212
<a href="http://semmle.com" href={someValue()}>Semmle</a>; // $ Alert[js/conflicting-html-attribute]
1313

14-
1514
<div id={someOtherValue()}></div>;
1615

1716
var div3 = <div><div id="theDiff"></div><div id="theDiff"></div></div>; // $ Alert[js/duplicate-html-id]

0 commit comments

Comments
 (0)