mirror of https://github.com/zulip/zulip.git
search.js: Eliminate get_query and get_person
(imported from commit c785f33378a0a5a436d9a7cb236a4af29c94921a)
This commit is contained in:
parent
98d2c5361f
commit
c9ec96cab3
|
@ -11,14 +11,6 @@ var current_search_term;
|
|||
// Data storage for the typeahead -- to go from object to string representation and vice versa.
|
||||
var search_object = {};
|
||||
|
||||
function get_query(obj) {
|
||||
return obj.query;
|
||||
}
|
||||
|
||||
function get_person(obj) {
|
||||
return typeahead_helper.render_person(obj.query);
|
||||
}
|
||||
|
||||
function phrase_match(phrase, q) {
|
||||
// match "tes" to "test" and "stream test" but not "hostess"
|
||||
var i;
|
||||
|
|
Loading…
Reference in New Issue