From a6d7b4bdbdc8ae5d4338be248d751a35af343fc7 Mon Sep 17 00:00:00 2001 From: Shahar Talmi Date: Sat, 16 Aug 2014 12:25:09 +0300 Subject: [PATCH] docs(*): use @description instead of @returns for properties Dgeni-packages was not actually rendering the `@returns` text. Closes #8639 --- src/loader.js | 5 +++-- src/ng/compile.js | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/loader.js b/src/loader.js index d1750c15..a9b41611 100644 --- a/src/loader.js +++ b/src/loader.js @@ -114,7 +114,7 @@ function setupModuleLoader(window) { * @ngdoc property * @name angular.Module#requires * @module ng - * @returns {Array.} List of module names which must be loaded before this module. + * * @description * Holds the list of modules which the injector will load before the current module is * loaded. @@ -125,8 +125,9 @@ function setupModuleLoader(window) { * @ngdoc property * @name angular.Module#name * @module ng - * @returns {string} Name of the module. + * * @description + * Name of the module. */ name: name, diff --git a/src/ng/compile.js b/src/ng/compile.js index 90bd31b9..8b293c29 100644 --- a/src/ng/compile.js +++ b/src/ng/compile.js @@ -2011,8 +2011,10 @@ function directiveNormalize(name) { /** * @ngdoc property * @name $compile.directive.Attributes#$attr - * @returns {object} A map of DOM element attribute names to the normalized name. This is - * needed to do reverse lookup from normalized name back to actual name. + * + * @description + * A map of DOM element attribute names to the normalized name. This is + * needed to do reverse lookup from normalized name back to actual name. */