From adb130cefa830e656b62756e99bbb85dd25c2363 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Wed, 11 Mar 2015 19:58:12 +0530 Subject: [PATCH] define devToolsWebContents for use from remote module --- atom/browser/api/lib/browser-window.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/browser/api/lib/browser-window.coffee b/atom/browser/api/lib/browser-window.coffee index 49608ca54d80..9c8e5a914f32 100644 --- a/atom/browser/api/lib/browser-window.coffee +++ b/atom/browser/api/lib/browser-window.coffee @@ -17,6 +17,7 @@ BrowserWindow::_init = -> @setMenu menu if menu? @webContents = @getWebContents() + @devToolsWebContents = null @webContents.once 'destroyed', => @webContents = null # Remember the window ID.