Merge branch '1-0-release'

This commit is contained in:
Cheng Zhao 2016-05-11 22:11:08 +09:00
commit 064af6ecb2
6 changed files with 10 additions and 10 deletions

View file

@ -133,7 +133,7 @@ app.once('ready', function () {
init = BrowserWindow.prototype._init
BrowserWindow.prototype._init = function () {
init.call(this)
return this.on('devtools-opened', function () {
return this.webContents.on('devtools-opened', () => {
return this._loadDevToolsExtensions(Object.keys(extensionInfoMap).map(function (key) {
return extensionInfoMap[key]
}))