clean up inspector creator

This commit is contained in:
Corey Johnson
2011-09-03 10:38:04 -07:00
parent 93add06d5f
commit 6e73a8a442

View File

@@ -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) ->