Add .dev-mode class to root view

This commit is contained in:
probablycorey
2013-03-05 14:16:30 -08:00
parent d6ae5a1778
commit 9331b3beed
3 changed files with 2 additions and 7 deletions

View File

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