Clean up no-unused-vars lint errors

This commit is contained in:
Kevin Sawicki 2016-01-19 14:49:40 -08:00
parent ccce284a5b
commit 70bcb0ac5a
36 changed files with 228 additions and 344 deletions

View file

@ -56,7 +56,7 @@ BrowserWindow.prototype._init = function() {
// Change window title to page title.
this.webContents.on('page-title-updated', (function(_this) {
return function(event, title, explicitSet) {
return function(event, title) {
_this.emit('page-title-updated', event, title);
if (!event.defaultPrevented) {
return _this.setTitle(title);