mirror of https://github.com/zulip/zulip.git
6079584c85
Using the offsetHeight getter is ~2.5x faster than getBoundingClientRect() on what can be an expensive operation to do in the hundreds of times. Note: Tim thinks that this may have been different a few years ago, since we tested fairly carefully before settling on getBoundingClientRect, but benchmarks pretty clearly show offsetHeight is faster today, so we should use that. |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
locale | ||
styles | ||
templates | ||
third | ||
.gitignore | ||
favicon.ico | ||
node_modules | ||
robots.txt |