Files
zulip/static/js
Steve Howell b3b83f223d minor: Avoid dict lookup for color.
The only thing get_color() does is look
up a sub:

    exports.get_color = function (stream_name) {
        const sub = exports.get_sub(stream_name);
        if (sub === undefined) {
            return stream_color.default_color;
        }
        return sub.color;
    };

So if we have a sub already, there's no point
calling the helper.

Obviously, this isn't a huge deal, but it happens
N times during page load.
2019-12-30 09:50:22 -08:00
..
2019-12-30 09:50:22 -08:00
2019-10-25 13:51:21 -07:00
2019-10-25 13:51:21 -07:00
2019-10-25 13:51:21 -07:00