Add missing space in JavaScript code. #1555
Fixes some `JSLint` inspection violations.
Description:
>JSLint: Missing space between 'for' and '('. (at line 9)
This commit is contained in:
parent
7e6f2135a9
commit
984409e0cd
|
|
@ -6,7 +6,7 @@ function main() {
|
|||
var url = window.location.href;
|
||||
var anchors = document.getElementsByTagName('h2');
|
||||
var mass = [];
|
||||
for(var i = 0; i < anchors.length; i++) {
|
||||
for (var i = 0; i < anchors.length; i++) {
|
||||
mass.push(anchors[i].childNodes[0].name);
|
||||
}
|
||||
var links = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue