Fix errors reported by the no-extra-bind
ESLint rule
http://eslint.org/docs/rules/no-extra-bind
This commit is contained in:
parent
25bf5db47e
commit
328e7397ea
@ -173,7 +173,7 @@ Preferences._readFromStorage = function (prefObj) {
|
|||||||
highlightAll: !!evt.detail.highlightAll,
|
highlightAll: !!evt.detail.highlightAll,
|
||||||
findPrevious: !!evt.detail.findPrevious
|
findPrevious: !!evt.detail.findPrevious
|
||||||
});
|
});
|
||||||
}.bind(this);
|
};
|
||||||
|
|
||||||
for (var i = 0, len = events.length; i < len; i++) {
|
for (var i = 0, len = events.length; i < len; i++) {
|
||||||
window.addEventListener(events[i], handleEvent);
|
window.addEventListener(events[i], handleEvent);
|
||||||
|
@ -188,7 +188,7 @@ var SecondaryToolbar = (function SecondaryToolbarClosure() {
|
|||||||
toggleHandToolButton.firstElementChild.textContent =
|
toggleHandToolButton.firstElementChild.textContent =
|
||||||
mozL10n.get('hand_tool_enable_label', null, 'Enable hand tool');
|
mozL10n.get('hand_tool_enable_label', null, 'Enable hand tool');
|
||||||
}
|
}
|
||||||
}.bind(this));
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
open: function SecondaryToolbar_open() {
|
open: function SecondaryToolbar_open() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user