index.js
function enableAll(win) {
	debug(`Enabling all shortcuts on window ${title(win)}`);
	const wc = win.webContents;
	const shortcutsOfWindow = windowsWithShortcuts.get(wc);

	for (const shortcut of shortcutsOfWindow) {
		shortcut.enabled = true;
	}
}
function enableAll(win) {
	debug(`Enabling all shortcuts on window ${title(win)}`);
	const wc = win.webContents;
	const shortcutsOfWindow = windowsWithShortcuts.get(wc);

	for (const shortcut of shortcutsOfWindow) {
		shortcut.enabled = true;
	}
}
function enableAll ( win ) { debug ( ` ${ title ( win ) } ` ) ; const wc = win . webContents ; const shortcutsOfWindow = windowsWithShortcuts . get ( wc ) ; for ( const shortcut of shortcutsOfWindow ) { shortcut . enabled = true ; } }
Enable all of the shortcuts registered on the BrowserWindow instance that
you had previously disabled calling `disableAll` method.
@param  {BrowserWindow} win BrowserWindow instance
@return {Undefined}
Enable all of the shortcuts registered on the BrowserWindow instance that you had previously disabled calling disableAll method .