From 4d6a017320df3264d24991b9595dd9e0a2edf8cf Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 9 Feb 2021 15:31:48 -0800 Subject: [PATCH] people: Modernize CommonJS reference in comment. Signed-off-by: Anders Kaseorg --- static/js/people.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/people.js b/static/js/people.js index c9722a5fb1..2b825bf35f 100644 --- a/static/js/people.js +++ b/static/js/people.js @@ -1030,9 +1030,9 @@ export function get_people_for_stream_create() { /* If you are thinking of reusing this function, a better option in most cases is to just - call `exports.get_realm_users()` and then - filter out the "me" user yourself as part of - any other filtering that you are doing. + call `get_realm_users()` and then filter out + the "me" user yourself as part of any other + filtering that you are doing. In particular, this function does a sort that is kinda expensive and may not apply