Fix errors reported by the no-extra-bind ESLint rule

http://eslint.org/docs/rules/no-extra-bind
This commit is contained in:
Jonas Jenwald 2016-12-10 13:58:06 +01:00
parent 25bf5db47e
commit 328e7397ea
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ Preferences._readFromStorage = function (prefObj) {
highlightAll: !!evt.detail.highlightAll,
findPrevious: !!evt.detail.findPrevious
});
}.bind(this);
};
for (var i = 0, len = events.length; i < len; i++) {
window.addEventListener(events[i], handleEvent);