zulip/zerver/tests/frontend
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
..
casperjs [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
node Prevent browser errors for stream: searches. 2014-02-10 15:11:43 -05:00
tests Add JS to for the inline subscribe button 2014-01-22 11:28:31 -05:00
.gitignore [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
common.js Fixed expected_messages in casper tests 2014-01-07 12:32:52 -05:00
run Use os.path directly rather than sometimes importing it separately. 2013-10-28 15:44:13 -04:00