js: Use ES6 object literal shorthand syntax.

Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-20 13:18:43 -07:00
parent b2745f6e41
commit 96dcc0ce6e
189 changed files with 1328 additions and 1326 deletions

View File

@@ -76,10 +76,10 @@ exports.sort_groups = function (streams, search_term) {
}
return {
same_as_before: same_as_before,
pinned_streams: pinned_streams,
normal_streams: normal_streams,
dormant_streams: dormant_streams,
same_as_before,
pinned_streams,
normal_streams,
dormant_streams,
};
};