From 212c4fa6fcafe83505034c27b4f1898a176cbd69 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Tue, 28 Jul 2015 14:49:33 -0700 Subject: [PATCH] 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. --- src/theme-manager.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/theme-manager.coffee b/src/theme-manager.coffee index 01bb9652a..434e40c5d 100644 --- a/src/theme-manager.coffee +++ b/src/theme-manager.coffee @@ -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()