Fix linting issues

This commit is contained in:
Samuel Attard 2016-08-02 13:13:17 +10:00
parent b59f37de98
commit a498cf5b79

View file

@ -128,7 +128,6 @@ const wrapWebContents = function (webContents) {
const asyncWebFrameMethods = function (requestId, method, callback, ...args) {
this.send('ELECTRON_INTERNAL_RENDERER_ASYNC_WEB_FRAME_METHOD', requestId, method, args)
ipcMain.once(`ELECTRON_INTERNAL_BROWSER_ASYNC_WEB_FRAME_RESPONSE_${requestId}`, function (event, result) {
console.info(callback);
if (callback) callback(result)
})
}