eslint: change space-before-function-paren from warning to error.

Also fix violations.
This commit is contained in:
lonerz
2016-12-05 06:02:18 +00:00
committed by Tim Abbott
parent f354892ba4
commit dc6849952b
25 changed files with 39 additions and 39 deletions

View File

@@ -8,7 +8,7 @@ var set_to_start_of_day = function (time) {
return time.setMilliseconds(0).setSeconds(0).setMinutes(0).setHours(0);
};
function now () { return new XDate(); }
function now() { return new XDate(); }
// Given an XDate object 'time', return a two-element list containing
// - a string for the current human-formatted version
@@ -56,7 +56,7 @@ $(function () {
// time_above is an optional argument, to support dates that look like:
// --- ▲ Yesterday ▲ ------ ▼ Today ▼ ---
function maybe_add_update_list_entry (needs_update, id, time, time_above) {
function maybe_add_update_list_entry(needs_update, id, time, time_above) {
if (needs_update) {
if (time_above !== undefined) {
update_list.push([id, time, time_above]);