eslint: change space-before-function-paren from warning to error.

Also fix violations.
This commit is contained in:
lonerz
2016-12-05 06:02:18 +00:00
committed by Tim Abbott
parent f354892ba4
commit dc6849952b
25 changed files with 39 additions and 39 deletions

View File

@@ -500,11 +500,11 @@ exports.clear_and_hide_search = function () {
filter.addClass('notdisplayed');
};
function focus_stream_filter (e) {
function focus_stream_filter(e) {
e.stopPropagation();
}
function maybe_select_stream (e) {
function maybe_select_stream(e) {
if (e.keyCode === 13) {
// Enter key was pressed