Remove linter warnings

This commit is contained in:
Kevin Sawicki 2017-02-27 10:40:00 -08:00
parent 9272582bd6
commit 9bdca3bbfb
2 changed files with 10 additions and 8 deletions

View file

@ -213,11 +213,13 @@ BrowserWindow.prototype.setTouchBar = function (touchBar) {
this._setTouchBar(touchBar.toJSON())
}
touchBar._owner = this
touchBar.items.forEach((item) => { item._owner = this; })
touchBar.items.forEach((item) => {
item._owner = this
})
}
BrowserWindow.prototype._updateTouchBarItem = function (itemID) {
this._refreshTouchBarItem(itemID);
this._refreshTouchBarItem(itemID)
}
module.exports = BrowserWindow