mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
webContents is now a public module
This commit is contained in:
@@ -101,16 +101,17 @@ Object.defineProperties(exports, {
|
||||
return require('../tray')
|
||||
}
|
||||
},
|
||||
webContents: {
|
||||
enumerable: true,
|
||||
get: function () {
|
||||
return require('../web-contents')
|
||||
}
|
||||
},
|
||||
|
||||
// The internal modules, invisible unless you know their names.
|
||||
NavigationController: {
|
||||
get: function () {
|
||||
return require('../navigation-controller')
|
||||
}
|
||||
},
|
||||
webContents: {
|
||||
get: function () {
|
||||
return require('../web-contents')
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user