Load packages by name instead of path

This commit is contained in:
Kevin Sawicki
2013-05-21 17:05:54 -07:00
parent 0cd27eac50
commit d4e5050fc2

View File

@@ -65,7 +65,7 @@ _.extend atom,
pack
loadPackages: ->
@loadPackage(path) for path in @getAvailablePackagePaths() when not @isPackageDisabled(path)
@loadPackage(name) for name in @getAvailablePackageNames() when not @isPackageDisabled(name)
loadPackage: (name, options) ->
if @isPackageDisabled(name)