mirror of
https://github.com/zulip/zulip.git
synced 2025-11-19 14:08:23 +00:00
js: Convert static/js/user_search.js to ES6 module.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6775715b9f
commit
229aacb819
@@ -1,6 +1,4 @@
|
||||
"use strict";
|
||||
|
||||
class UserSearch {
|
||||
export class UserSearch {
|
||||
// This is mostly view code to manage the user search widget
|
||||
// above the buddy list. We rely on other code to manage the
|
||||
// details of populating the list when we change.
|
||||
@@ -119,6 +117,3 @@ class UserSearch {
|
||||
e.stopPropagation();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = UserSearch;
|
||||
window.UserSearch = UserSearch;
|
||||
|
||||
Reference in New Issue
Block a user