zulip/static
Steve Howell cf1149539e emojis: Swap the loops to build the emojis map.
This is mostly done for correctness reasons--it is
easiest from a logical standpoint to set the realm
emojis at the end of the function, since we do not want
them to be overwritten by normal emojis. The code
worked before this change, but it involved a clunky
check to map.has().

There is also probably a very minor performance
improvement insofar as N (the number of normal
emojis) is typically greater than R (the number
of realm emojis), and we eliminate N calls to
map.has in return for R calls to map.set.  Even
if R is quite large, the readability advantages
probably far outweigh any performance considerations,
since we are using native map calls.

Thanks to Austin Riba for this suggestion.
2022-04-04 13:28:49 -07:00
..
assets zulip-icons: Move custom icons to shared folder. 2022-03-22 16:14:56 -07:00
audio notification_sounds: Add "Chime", the new Zulip sound used on Android 2022-03-28 12:56:54 -07:00
generated
html
images policies: Fix effective date on most recent DPA update. 2022-03-07 12:01:25 -08:00
js emojis: Swap the loops to build the emojis map. 2022-04-04 13:28:49 -07:00
shared emojis: Un-share the emoji.js module. 2022-04-04 13:28:49 -07:00
styles stream_settings: Remove pencil icon from 'General' tab in stream settings. 2022-04-01 14:52:06 -07:00
templates settings: Fix length of custom profile field URL input. 2022-04-04 12:10:05 -07:00
third typeahead: Update / hide typeahead menu on clicking outside. 2022-03-18 14:59:28 -07:00
.gitignore docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00