mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
When we call functions inside our own modules that use the `window.foo = exports` pattern, we have always had a pretty strong preference to call `exports.internal_function` instead of `foo.internal_functions`. The stragglers here weren't violating this convention for any intentional reason. Some of the places here probably were part of code moves where somebody (probably me) moved functions into the modules to avoid unnecessary indirection, and I missed a spot where I could change from `presence` to `exports` (or whatever). And other places are probably just kinda arbitrary decisions by the original developer, and we just haven't bothered to clean it up until now.
10 KiB
10 KiB