mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
Code prior to this commit was functionally working, but semantically flawed — returning false does not short-circuit _.each like it does with $.each. It now uses _.every, as suggested by Steve. In addition I renamed the function to be more descriptive, added a comment, and eliminated needless double negation. (imported from commit b0666dfa01b2677b4eaf577fe9ced90ed0db2438)
50 KiB
50 KiB