From: Nate Goldman Date: Tue, 20 Oct 2015 17:44:02 +0000 (-0700) Subject: use webContents.openDevTools X-Git-Tag: v0.34.1~17^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=da7161d5a7fcc3c7804eb22f51a705444d114f22;p=electron.git use webContents.openDevTools https://github.com/atom/electron/issues/3125#issuecomment-148975593 --- diff --git a/docs/tutorial/quick-start.md b/docs/tutorial/quick-start.md index 052da3d9..b023decc 100644 --- a/docs/tutorial/quick-start.md +++ b/docs/tutorial/quick-start.md @@ -107,7 +107,7 @@ app.on('ready', function() { mainWindow.loadUrl('file://' + __dirname + '/index.html'); // Open the DevTools. - mainWindow.openDevTools(); + mainWindow.webContents.openDevTools(); // Emitted when the window is closed. mainWindow.on('closed', function() {