zulip/zerver/tests/frontend/node
Steve Howell 6b93315cc3 Prevent browser errors for stream: searches.
When we typed "stream:" into the search bar, the empty operand
triggered an error in the Dict class for an undefined key, because
we were using opts[0] as a "defensive" workaround to opts.operand,
but opts.operand of '' is more correct than opts[0] being undefined.

Now we only fall back to opts[0] whe opts.operand is undefined, and
we emit a blueslip error when that happens.

(imported from commit 88a196d3bc3d67689c36bc036f378da744c652f9)
2014-02-10 15:11:43 -05:00
..
activity.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
alert_words.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
composebox_typeahead.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
dict.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
echo.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
filter.js Prevent browser errors for stream: searches. 2014-02-10 15:11:43 -05:00
index.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
message_list.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
muting.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
narrow.js Use new style search operators in node tests. 2014-02-10 15:11:43 -05:00
people.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
search_suggestion.js Remove tuples safety net for narrow filters on staging. 2014-02-10 13:23:27 -05:00
server_events.js Prevent errors in get_updates_success from stopping the event loop 2014-02-03 15:28:27 -05:00
stream_color.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
stream_data.js Keep track of subs by stream_id inside of stream_data.js. 2014-02-06 12:09:52 -05:00
stream_list.js Keep track of subs by stream_id inside of stream_data.js. 2014-02-06 12:09:52 -05:00
templates.js Allow admins to change the realm's name in the UI. 2014-02-04 11:33:19 -05:00
unread.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00
util.js Make "assert" global in the node tests. 2014-02-03 10:54:38 -05:00