Validate selectors only in devMode

This commit is contained in:
Antonio Scandurra
2017-03-11 18:56:29 +01:00
parent 8bd409ede3
commit fbcbfc4889
3 changed files with 3 additions and 2 deletions

View File

@@ -224,6 +224,7 @@ class AtomEnvironment extends Model
@keymaps.configDirPath = @configDirPath
@keymaps.resourcePath = resourcePath
@keymaps.devMode = devMode
unless @keymaps.canLoadBundledKeymapsFromMemory()
@keymaps.loadBundledKeymaps()