Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
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
api Add API endpoint to render some message content without sending a message. 2013-08-01 14:01:58 -04:00
assets Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
bots Escape @ when mirroring content back to Zephyr. 2013-08-01 14:01:58 -04:00
certs Switch api.zulip.com to signed PositiveSSL / Comodo certificate. 2013-07-15 16:49:54 -04:00
confirmation Add metrics variables to the template context via a context processor 2013-06-18 17:07:36 -04:00
humbug Use PATCH again for patching bots. 2013-08-02 11:46:11 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Warn users when sshing in to lb0.zulip.net 2013-07-31 10:50:19 -04:00
static Refactor search_suggestions.js. 2013-08-02 17:28:03 -04:00
templates Tighten up the text on /integrations and /api. 2013-08-02 16:39:21 -04:00
tools Add the "static" directory to NODE_PATH for unit tests. 2013-08-01 17:58:25 -04:00
zephyr Refactor search_suggestions.js. 2013-08-02 17:28:03 -04:00
.gitignore Add new errors/ folder to .gitignore 2013-07-29 16:13:57 -04:00
manage.py Make manage.py spit out tracebacks, without a patched django 2013-05-28 19:05:06 -04:00