From cc1588cbf2071ba6057a63e2c82f65db9d396d40 Mon Sep 17 00:00:00 2001 From: James Daily Date: Fri, 23 Aug 2013 08:29:23 -0400 Subject: [PATCH 1/2] Improved parameter documentation for several boolean attributes --- src/ng/directive/booleanAttrs.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/ng/directive/booleanAttrs.js b/src/ng/directive/booleanAttrs.js index a0966da78c9..3fc35290a9a 100644 --- a/src/ng/directive/booleanAttrs.js +++ b/src/ng/directive/booleanAttrs.js @@ -165,7 +165,8 @@ * * @element INPUT - * @param {expression} ngDisabled Angular expression that will be evaluated. + * @param {expression} ngDisabled If the {@link guide/expression expression} is truthy, + * then special attribute "disabled" will be set on the element */ @@ -194,8 +195,8 @@ * - * @element INPUT - * @param {expression} ngChecked Angular expression that will be evaluated. + * @param {expression} ngChecked If the {@link guide/expression expression} is truthy, + * then special attribute "checked" will be set on the element */ @@ -224,8 +225,8 @@ * - * @element INPUT - * @param {string} expression Angular expression that will be evaluated. + * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy, + * then special attribute "readonly" will be set on the element */ @@ -258,7 +259,8 @@ * * @element OPTION - * @param {string} expression Angular expression that will be evaluated. + * @param {expression} ngSelected If the {@link guide/expression expression} is truthy, + * then special attribute "selected" will be set on the element */ /** @@ -290,7 +292,8 @@ * * @element DETAILS - * @param {string} expression Angular expression that will be evaluated. + * @param {expression} ngOpen If the {@link guide/expression expression} is truthy, + * then special attribute "open" will be set on the element */ var ngAttributeAliasDirectives = {}; From 0eab89cc01510c76b1130b684ed7552029bfd978 Mon Sep 17 00:00:00 2001 From: James Daily Date: Mon, 26 Aug 2013 11:12:44 -0400 Subject: [PATCH 2/2] Updated boolean attribute parameter descs --- src/ng/directive/booleanAttrs.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ng/directive/booleanAttrs.js b/src/ng/directive/booleanAttrs.js index 3fc35290a9a..ad7b4f3f73e 100644 --- a/src/ng/directive/booleanAttrs.js +++ b/src/ng/directive/booleanAttrs.js @@ -195,6 +195,7 @@ * + * @element INPUT * @param {expression} ngChecked If the {@link guide/expression expression} is truthy, * then special attribute "checked" will be set on the element */ @@ -225,6 +226,7 @@ * + * @element INPUT * @param {expression} ngReadonly If the {@link guide/expression expression} is truthy, * then special attribute "readonly" will be set on the element */