mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Add .dev-mode class to root view
This commit is contained in:
@@ -34,6 +34,7 @@ class RootView extends View
|
||||
title: null
|
||||
|
||||
initialize: ->
|
||||
@addClass('dev-mode') if atom.devMode
|
||||
@command 'toggle-dev-tools', => atom.toggleDevTools()
|
||||
@on 'focus', (e) => @handleFocus(e)
|
||||
@subscribe $(window), 'focus', (e) =>
|
||||
|
||||
Reference in New Issue
Block a user