add support to open devtools for webview content

Este commit está contenido en:
Paul Frazee 2015-07-19 12:16:12 -05:00
padre 2a56a32475
commit 5276690a48
Se han modificado 2 ficheros con 3 adiciones y 2 borrados

Ver fichero

@ -87,7 +87,7 @@ module.exports = function (window) {
label: 'Toggle DevTools',
accelerator: 'Alt+Command+I',
click: function() {
window.toggleDevTools()
window.rpc.contextualToggleDevTools()
}
},
]

Ver fichero

@ -5,7 +5,8 @@ var pushable = require('pull-pushable')
var Api = require('scuttlebot/lib/api')
var clientApi = {
navigate: 'async'
navigate: 'async',
contextualToggleDevTools: 'async'
}
module.exports = function (window, sbot, params) {