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

@@ -3,7 +3,7 @@ var channel = (function () {
var exports = {};
var pending_requests = [];
function add_pending_request (jqXHR) {
function add_pending_request(jqXHR) {
if (!feature_flags.cleanup_before_reload) { return; }
pending_requests.push(jqXHR);
@@ -13,7 +13,7 @@ function add_pending_request (jqXHR) {
}
}
function remove_pending_request (jqXHR) {
function remove_pending_request(jqXHR) {
if (!feature_flags.cleanup_before_reload) { return; }
var pending_request_index = _.indexOf(pending_requests, jqXHR);