mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
...try this?
This commit is contained in:
@@ -72,7 +72,8 @@ class ApplicationDelegate
|
||||
remote.getCurrentWindow().toggleDevTools()
|
||||
|
||||
executeJavaScriptInWindowDevTools: (code) ->
|
||||
remote.getCurrentWindow().webContents.executeJavaScriptInDevTools(code)
|
||||
webContents = remote.getCurrentWindow.webContents
|
||||
webContents.executeJavaScript(code)
|
||||
|
||||
setWindowDocumentEdited: (edited) ->
|
||||
ipc.send("call-window-method", "setDocumentEdited", edited)
|
||||
|
||||
Reference in New Issue
Block a user