mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
Display console with cmd-ctrl-k. how do you close the console? You can't yet.
http://www.opensource.apple.com/source/WebKit/WebKit-6531.9/mac/WebInspector/
This commit is contained in:
@@ -126,3 +126,6 @@ bindKey 'end', 'Alt-Shift-.', (env) ->
|
||||
|
||||
bindKey 'fullscreen', 'Command-Shift-Return', (env) ->
|
||||
Chrome.toggleFullscreen()
|
||||
|
||||
bindKey 'console', 'Command-Ctrl-k', (env) ->
|
||||
Chrome.inspector().showConsole(1)
|
||||
|
||||
@@ -26,6 +26,10 @@ Chrome =
|
||||
throw "I DON'T KNOW HOW TO DEAL WITH #{position}"
|
||||
|
||||
# path - Optional. The String path to the file to base it on.
|
||||
inspector: (webView) ->
|
||||
webView ?= WindowController.webView
|
||||
@_inspector ?= OSX.WebInspector.alloc.initWithWebView webView
|
||||
|
||||
createWindow: (path) ->
|
||||
c = OSX.AtomWindowController.alloc.initWithWindowNibName "AtomWindow"
|
||||
c.window
|
||||
|
||||
Reference in New Issue
Block a user