Remove themes paths from config

Themes are now co-located with packages
This commit is contained in:
Kevin Sawicki
2013-09-16 08:34:01 -07:00
parent 906c5b0a9d
commit a234ed96bd

View File

@@ -9,9 +9,7 @@ pathWatcher = require 'pathwatcher'
configDirPath = fsUtils.absolute("~/.atom")
nodeModulesDirPath = path.join(resourcePath, "node_modules")
bundledThemesDirPath = path.join(resourcePath, "themes")
bundledKeymapsDirPath = path.join(resourcePath, "keymaps")
userThemesDirPath = path.join(configDirPath, "themes")
userPackagesDirPath = path.join(configDirPath, "packages")
userPackageDirPaths = [userPackagesDirPath]
userPackageDirPaths.unshift(path.join(configDirPath, "dev", "packages")) if atom.getLoadSettings().devMode
@@ -39,7 +37,6 @@ class Config
_.extend @prototype, EventEmitter
configDirPath: configDirPath
themeDirPaths: [userThemesDirPath, bundledThemesDirPath]
bundledPackageDirPaths: [nodeModulesDirPath]
bundledKeymapsDirPath: bundledKeymapsDirPath
nodeModulesDirPath: nodeModulesDirPath