mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
lint: Add dangling commas in JavaScript objects.
This commit is contained in:
@@ -43,7 +43,7 @@ function check_duplicate_ids() {
|
||||
id: o.id,
|
||||
count: 1,
|
||||
node: "<" + tag + " className='" + o.className + "' id='" + o.id + "'>" +
|
||||
"</" + tag + ">"
|
||||
"</" + tag + ">",
|
||||
});
|
||||
} else {
|
||||
el.count += 1;
|
||||
@@ -55,7 +55,7 @@ function check_duplicate_ids() {
|
||||
|
||||
return {
|
||||
collisions: collisions,
|
||||
total_collisions: total_collisions
|
||||
total_collisions: total_collisions,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -129,5 +129,5 @@ IterationProfiler.prototype = {
|
||||
console.log(prop, this.sections[prop]);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user