eslint: change no-plusplus from warning to 2 and fix violations.

This commit is contained in:
kevv87
2016-11-30 18:05:04 +00:00
committed by Tim Abbott
parent c90da24541
commit e6369fc29b
23 changed files with 41 additions and 41 deletions

View File

@@ -89,7 +89,7 @@ function render_date_span(elem, time_str, time_above_str) {
// okay since to update the time later we look up the node by its id.)
exports.render_date = function (time, time_above) {
var id = "timerender" + next_timerender_id;
next_timerender_id++;
next_timerender_id += 1;
var rendered_time = exports.render_now(time);
var node = $("<span />").attr('id', id);
if (time_above !== undefined) {