mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
eslint: Enable prefer-arrow-callback.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
960174408f
commit
a79322bc94
@@ -124,7 +124,7 @@ exports.initialize = function () {
|
||||
// already saved on the server, etc.
|
||||
//
|
||||
// This gets called on every message, so cache the results.
|
||||
exports.get_color_class = _.memoize(function (color) {
|
||||
exports.get_color_class = _.memoize((color) => {
|
||||
let match;
|
||||
let i;
|
||||
const channel = [0, 0, 0];
|
||||
|
||||
Reference in New Issue
Block a user