mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 05:53:43 +00:00
emoji refactor: Let emoji.js own the data.
We now only use page_params.realm_emoji at intialization time, and then settings_emoji gets the data from emoji.js.
This commit is contained in:
committed by
Anders Kaseorg
parent
d11c6686a1
commit
5280b87f19
@@ -37,6 +37,7 @@ function set_up_spain_realm_emoji_for_test() {
|
||||
},
|
||||
};
|
||||
emoji.update_emojis(realm_emojis);
|
||||
assert.equal(emoji.get_server_realm_emoji_data(), realm_emojis);
|
||||
}
|
||||
|
||||
run_test("get_emoji_* API", () => {
|
||||
|
||||
Reference in New Issue
Block a user