mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
1. Change code comment in search.get_suggestion. 2. Remove side effects from search.get_suggestions. The function get_suggestions() was updating a module-scoped variable called search_object, but now it returns a dictionary to its caller. 3. Greatly reduce the scope of the search_object var in search.js. I also clarified the comment around it a bit. We could squeeze the scope of search_object even further by using a function wrapper, but this is a big enough win for now. (imported from commit 4b633dd30ab45d24b85ea1d10df27df5aaa0c959) |
||
|---|---|---|
| .. | ||
| audio | ||
| html | ||
| images | ||
| js | ||
| styles | ||
| templates | ||
| third | ||
| .gitignore | ||
| favicon.ico | ||
| robots.txt | ||