From: Paul Donald Date: Mon, 13 Jan 2025 16:57:40 +0000 (+0100) Subject: luci-base: jsdoc grammar fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=db98bb5442e35b39406f29ed0a2c699f20407274;p=project%2Fluci.git luci-base: jsdoc grammar fix Signed-off-by: Paul Donald --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index e3352fe019..e1fc3ff3e9 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -4493,8 +4493,8 @@ const CBIDummyValue = CBIValue.extend(/** @lends LuCI.form.DummyValue.prototype * Treat the UCI option value (or the `default` property value) as HTML. * * By default, the value text is HTML escaped before being rendered as - * text. In some cases it may be needed to actually interpret and render - * HTML contents as-is. When set to `true`, HTML escaping is disabled. + * text. In some cases, HTML content may need to be interpreted and + * rendered as-is. When set to `true`, HTML escaping is disabled. * * @name LuCI.form.DummyValue.prototype#rawhtml * @type boolean diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index bff9acc3c0..92fd8f887b 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -5014,8 +5014,8 @@ const UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { * default. * * @returns {function} - * Returns the compiled validator function which can be used to manually - * trigger field validation or to bind it to further events. + * Returns the compiled validator function which can be used to trigger + * field validation manually or to bind it to further events. * * @see LuCI.validation */