💄 Move extend calls to top of class

This commit is contained in:
Kevin Sawicki
2013-08-26 19:09:42 -07:00
parent 03573b4e06
commit decaa3dfcf
15 changed files with 34 additions and 34 deletions

View File

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