mirror of
https://github.com/atom/atom.git
synced 2026-02-16 17:45:24 -05:00
💄
This commit is contained in:
@@ -166,16 +166,6 @@ class Config
|
||||
|
||||
### Internal ###
|
||||
|
||||
setDefaults: (keyPath, defaults) ->
|
||||
keys = keyPath.split('.')
|
||||
hash = @defaultSettings
|
||||
for key in keys
|
||||
hash[key] ?= {}
|
||||
hash = hash[key]
|
||||
|
||||
_.extend hash, defaults
|
||||
@update()
|
||||
|
||||
update: ->
|
||||
return if @configFileHasErrors
|
||||
@save()
|
||||
|
||||
@@ -216,7 +216,6 @@ class RootView extends View
|
||||
eachBuffer: (callback) ->
|
||||
project.eachBuffer(callback)
|
||||
|
||||
|
||||
### Internal ###
|
||||
|
||||
# Destroys everything.
|
||||
|
||||
Reference in New Issue
Block a user