mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
There are no global bundles anymore.
This commit is contained in:
committed by
Corey Johnson & Nathan Sobo
parent
3df28ab375
commit
f6b5b4d3bd
@@ -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)->
|
||||
|
||||
Reference in New Issue
Block a user