mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
eslint: Enable space-infix-ops rule.
More about rule at https://eslint.org/docs/rules/space-infix-ops
This commit is contained in:
@@ -3,7 +3,7 @@ var message_fetch = (function () {
|
||||
var exports = {};
|
||||
|
||||
var consts = {
|
||||
backfill_idle_time: 10*1000,
|
||||
backfill_idle_time: 10 * 1000,
|
||||
error_retry_time: 5000,
|
||||
backfill_batch_size: 1000,
|
||||
narrow_before: 50,
|
||||
@@ -315,7 +315,7 @@ exports.initialize = function () {
|
||||
// If we fall through here, we need to keep fetching more data, and
|
||||
// we'll call back to the function we're in.
|
||||
var messages = data.messages;
|
||||
var latest_id = messages[messages.length-1].id;
|
||||
var latest_id = messages[messages.length - 1].id;
|
||||
|
||||
exports.load_messages({
|
||||
anchor: latest_id.toFixed(),
|
||||
|
||||
Reference in New Issue
Block a user