mirror of
https://github.com/atom/atom.git
synced 2026-02-11 07:05:11 -05:00
💄 Move extend calls to top of class
This commit is contained in:
@@ -23,6 +23,8 @@ userStoragePath = path.join(configDirPath, "storage")
|
||||
# user's configuration file.
|
||||
module.exports =
|
||||
class Config
|
||||
_.extend @prototype, EventEmitter
|
||||
|
||||
configDirPath: configDirPath
|
||||
themeDirPaths: [userThemesDirPath, bundledThemesDirPath]
|
||||
bundledPackageDirPaths: [nodeModulesDirPath]
|
||||
@@ -210,5 +212,3 @@ class Config
|
||||
|
||||
save: ->
|
||||
CSON.writeFileSync(@configFilePath, @settings)
|
||||
|
||||
_.extend Config.prototype, EventEmitter
|
||||
|
||||
Reference in New Issue
Block a user