Add window:log-deprecation-warnings command

This commit is contained in:
probablycorey
2014-04-03 09:19:33 -07:00
parent ca016ce116
commit 0b0dbbe4ee

View File

@@ -3,7 +3,7 @@ path = require 'path'
Q = require 'q'
_ = require 'underscore-plus'
Delegator = require 'delegato'
{deprecate} = require 'grim'
{deprecate, logDeprecationWarnings} = require 'grim'
scrollbarStyle = require 'scrollbar-style'
{$, $$, View} = require './space-pen-extensions'
fs = require 'fs-plus'
@@ -141,8 +141,8 @@ class WorkspaceView extends View
@command 'window:focus-pane-on-left', => @focusPaneViewOnLeft()
@command 'window:focus-pane-on-right', => @focusPaneViewOnRight()
@command 'window:save-all', => @saveAll()
@command 'window:toggle-invisibles', =>
atom.config.toggle("editor.showInvisibles")
@command 'window:toggle-invisibles', => atom.config.toggle("editor.showInvisibles")
@command 'window:log-deprecation-warnings', => logDeprecationWarnings()
@command 'window:toggle-auto-indent', =>
atom.config.toggle("editor.autoIndent")