There are no global bundles anymore.

This commit is contained in:
Corey Johnson
2012-11-05 11:00:47 -08:00
committed by Corey Johnson & Nathan Sobo
parent 3df28ab375
commit f6b5b4d3bd

View File

@@ -13,12 +13,10 @@ class TextMateBundle
@grammars: []
@loadAll: ->
globalBundles = fs.list(require.resolve("bundles"))
localBundlePath = fs.join(atom.configDirPath, "bundles")
localBundles = fs.list(localBundlePath) if fs.exists(localBundlePath)
for bundlePath in globalBundles.concat(localBundles ? [])
for bundlePath in localBundles ? []
@registerBundle(new TextMateBundle(bundlePath))
@registerBundle: (bundle)->