mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
clean up inspector creator
This commit is contained in:
@@ -35,9 +35,8 @@ Chrome =
|
||||
else
|
||||
throw "I DON'T KNOW HOW TO DEAL WITH #{position}"
|
||||
|
||||
inspector: (webView) ->
|
||||
webView ?= WindowController.webView
|
||||
@_inspector ?= OSX.WebInspector.alloc.initWithWebView webView
|
||||
inspector:->
|
||||
@_inspector ?= WindowController.webView.inspector
|
||||
|
||||
# path - Optional. The String path to the file to base it on.
|
||||
createWindow: (path) ->
|
||||
|
||||
Reference in New Issue
Block a user