mirror of https://github.com/zulip/zulip.git
4141abc171
This isn't a huge speedup, but it's an easy code change. We remove the two-liner highlight_with_escaping, which was only called in one place, and when we inline it into the caller, we can pull the first line, which builds the regex, out of the loop. |
||
---|---|---|
.. | ||
casper_lib | ||
casper_tests | ||
node_tests | ||
zjsunit | ||
.eslintrc.json | ||
run-casper |