mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Use Returns keyword in ThemeManager public docs
Use the `Returns` keyword in `get*Theme` function docs so they are put in panels like other return values in docs.
This commit is contained in:
@@ -71,11 +71,11 @@ class ThemeManager
|
||||
Section: Accessing Loaded Themes
|
||||
###
|
||||
|
||||
# Public: Get an array of all the loaded theme names.
|
||||
# Public: Returns an {Array} of {String}s of all the loaded theme names.
|
||||
getLoadedThemeNames: ->
|
||||
theme.name for theme in @getLoadedThemes()
|
||||
|
||||
# Public: Get an array of all the loaded themes.
|
||||
# Public: Returns an {Array} of all the loaded themes.
|
||||
getLoadedThemes: ->
|
||||
pack for pack in @packageManager.getLoadedPackages() when pack.isTheme()
|
||||
|
||||
@@ -83,11 +83,11 @@ class ThemeManager
|
||||
Section: Accessing Active Themes
|
||||
###
|
||||
|
||||
# Public: Get an array of all the active theme names.
|
||||
# Public: Returns an {Array} of {String}s all the active theme names.
|
||||
getActiveThemeNames: ->
|
||||
theme.name for theme in @getActiveThemes()
|
||||
|
||||
# Public: Get an array of all the active themes.
|
||||
# Public: Returns an {Array} of all the active themes.
|
||||
getActiveThemes: ->
|
||||
pack for pack in @packageManager.getActivePackages() when pack.isTheme()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user