diff options
author | Paul Donald <newtwen@gmail.com> | 2024-03-06 02:03:57 +0100 |
---|---|---|
committer | Paul Donald <newtwen@gmail.com> | 2024-03-06 02:03:57 +0100 |
commit | f630f2241c8807a18c1d5bf1e7e286b3dd6a97f8 (patch) | |
tree | 0c8e1b96a536a4902496f3c0eb540033fe519c3e /modules/luci-base | |
parent | 452e8137834ad085844f4b3c694545708f0adaa6 (diff) |
luci-base: docs house-keeping
Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 2 | ||||
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/ui.js | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 42664f7eeb..81b1054660 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -3833,7 +3833,7 @@ var CBIDynamicList = CBIValue.extend(/** @lends LuCI.form.DynamicList.prototype * @classdesc * * The `ListValue` class implements a simple static HTML select element - * allowing the user chose a single value from a set of predefined choices. + * allowing the user to choose a single value from a set of predefined choices. * It builds upon the {@link LuCI.ui.Select} widget. * * @param {LuCI.form.Map|LuCI.form.JSONMap} form diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js index d266fc73ce..a4f002591d 100644 --- a/modules/luci-base/htdocs/luci-static/resources/ui.js +++ b/modules/luci-base/htdocs/luci-static/resources/ui.js @@ -222,7 +222,7 @@ var UIElement = baseclass.extend(/** @lends LuCI.ui.AbstractElement.prototype */ }, /** - * Setup listeners for native DOM events that may update the widget value. + * Set up listeners for native DOM events that may update the widget value. * * Sets up event handlers on the given target DOM node for the given event * names which may cause the input value to update, such as `keyup` or @@ -265,7 +265,7 @@ var UIElement = baseclass.extend(/** @lends LuCI.ui.AbstractElement.prototype */ }, /** - * Setup listeners for native DOM events that may change the widget value. + * Set up listeners for native DOM events that may change the widget value. * * Sets up event handlers on the given target DOM node for the given event * names which may cause the input value to change completely, such as @@ -292,7 +292,7 @@ var UIElement = baseclass.extend(/** @lends LuCI.ui.AbstractElement.prototype */ }, /** - * Render the widget, setup event listeners and return resulting markup. + * Render the widget, set up event listeners and return resulting markup. * * @instance * @memberof LuCI.ui.AbstractElement @@ -3506,7 +3506,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { tooltipDiv = document.body.appendChild( dom.create('div', { class: 'cbi-tooltip' })); - /* setup old aliases */ + /* set up old aliases */ L.showModal = this.showModal; L.hideModal = this.hideModal; L.showTooltip = this.showTooltip; @@ -3577,7 +3577,7 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ { * behaviour. It has no effect if no modal dialog is currently open. * * Note that this function is stand-alone, it does not rely on `this` and - * will not invoke other class functions so it suitable to be used as event + * will not invoke other class functions so it is suitable to be used as event * handler as-is without the need to bind it first. */ hideModal: function() { |