webContents is now a public module

This commit is contained in:
Cheng Zhao 2016-07-15 10:59:19 +09:00
parent 297365b4f0
commit 2791f71c03

View file

@ -101,16 +101,17 @@ Object.defineProperties(exports, {
return require('../tray') return require('../tray')
} }
}, },
webContents: {
enumerable: true,
get: function () {
return require('../web-contents')
}
},
// The internal modules, invisible unless you know their names. // The internal modules, invisible unless you know their names.
NavigationController: { NavigationController: {
get: function () { get: function () {
return require('../navigation-controller') return require('../navigation-controller')
} }
},
webContents: {
get: function () {
return require('../web-contents')
}
} }
}) })