zulip/static
Steve Howell 95102dc1bd Refactor search_suggestions.js.
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)
2013-08-02 17:28:03 -04:00
..
audio Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
html Remove unused Droid Sans CSS link from header 2013-08-01 15:46:59 -04:00
images Remove unused user status images. 2013-08-02 17:17:54 -04:00
js Refactor search_suggestions.js. 2013-08-02 17:28:03 -04:00
styles Replace presence images with CSS. 2013-08-02 17:17:53 -04:00
templates Replace presence images with CSS. 2013-08-02 17:17:53 -04:00
third Remove Glyphicons completely. 2013-08-02 15:19:11 -04:00
.gitignore Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
favicon.ico Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
robots.txt Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00