mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Show inspector with javascript
This commit is contained in:
@@ -88,9 +88,7 @@
|
||||
|
||||
NSURLRequest *request = [NSURLRequest requestWithURL:indexURL];
|
||||
[[self.webView mainFrame] loadRequest:request];
|
||||
|
||||
[[self.webView inspector] showConsole:self];
|
||||
|
||||
|
||||
[self blockUntilWebViewLoads];
|
||||
}
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ windowAdditions =
|
||||
menuItemActions: null
|
||||
|
||||
startup: ->
|
||||
@showConsole()
|
||||
|
||||
@menuItemActions = {}
|
||||
@rootView = RootView.build(url: $atomController.url?.toString())
|
||||
$('body').append @rootView
|
||||
|
||||
Reference in New Issue
Block a user