emoji refactor: Pass in emoji_codes from ui_init.

We don't want emoji.js to depend on a JSON file
(and specifically the location of said JSON file)
when we start sharing our code with mobile.
This commit is contained in:
Steve Howell
2020-07-25 21:59:49 +00:00
committed by Tim Abbott
parent 3e30a7f66e
commit 92ed76e3c1
8 changed files with 46 additions and 10 deletions

View File

@@ -27,6 +27,7 @@ const emoji_params = {
deactivated: false,
},
},
emoji_codes,
};
set_global("page_params", {