mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Add 'name' arg docs to PackageManager functions
This commit is contained in:
@@ -162,6 +162,8 @@ class PackageManager
|
||||
|
||||
# Public: Enable the package with the given name.
|
||||
#
|
||||
# * `name` - The {String} package name.
|
||||
#
|
||||
# Returns the {Package} that was enabled or null if it isn't loaded.
|
||||
enablePackage: (name) ->
|
||||
pack = @loadPackage(name)
|
||||
@@ -170,6 +172,8 @@ class PackageManager
|
||||
|
||||
# Public: Disable the package with the given name.
|
||||
#
|
||||
# * `name` - The {String} package name.
|
||||
#
|
||||
# Returns the {Package} that was disabled or null if it isn't loaded.
|
||||
disablePackage: (name) ->
|
||||
pack = @loadPackage(name)
|
||||
|
||||
Reference in New Issue
Block a user