mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
js: Convert Object.assign({…}, …) to spread syntax.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -22,7 +22,7 @@ zrequire("hash_util");
|
||||
|
||||
const emoji = zrequire("emoji", "shared/js/emoji");
|
||||
const pygments_data = zrequire("pygments_data", "generated/pygments_data.json");
|
||||
const actual_pygments_data = Object.assign({}, pygments_data);
|
||||
const actual_pygments_data = {...pygments_data};
|
||||
const ct = zrequire("composebox_typeahead");
|
||||
const th = zrequire("typeahead_helper");
|
||||
const {LazySet} = zrequire("lazy_set");
|
||||
|
||||
Reference in New Issue
Block a user