From 093f76ba4b57ba4a67bd82e73d80d1e8bec2c91b Mon Sep 17 00:00:00 2001 From: jow- Date: Mon, 21 Feb 2022 14:07:01 +0000 Subject: [PATCH] deploy: 5663fd596b567d53587fcc4052df3095520c08a7 --- jsapi/LuCI.baseclass.html | 2 +- jsapi/LuCI.dom.html | 32 ++--- jsapi/LuCI.form.AbstractElement.html | 2 +- jsapi/LuCI.form.AbstractSection.html | 2 +- jsapi/LuCI.form.AbstractValue.html | 2 +- jsapi/LuCI.form.ButtonValue.html | 2 +- jsapi/LuCI.form.DummyValue.html | 2 +- jsapi/LuCI.form.DynamicList.html | 2 +- jsapi/LuCI.form.FileUpload.html | 2 +- jsapi/LuCI.form.FlagValue.html | 2 +- jsapi/LuCI.form.GridSection.html | 2 +- jsapi/LuCI.form.HiddenValue.html | 2 +- jsapi/LuCI.form.JSONMap.html | 2 +- jsapi/LuCI.form.ListValue.html | 2 +- jsapi/LuCI.form.Map.html | 2 +- jsapi/LuCI.form.MultiValue.html | 2 +- jsapi/LuCI.form.NamedSection.html | 2 +- jsapi/LuCI.form.SectionValue.html | 2 +- jsapi/LuCI.form.TableSection.html | 2 +- jsapi/LuCI.form.TextValue.html | 2 +- jsapi/LuCI.form.TypedSection.html | 2 +- jsapi/LuCI.form.Value.html | 2 +- jsapi/LuCI.form.html | 2 +- jsapi/LuCI.fs.html | 2 +- jsapi/LuCI.headers.html | 2 +- jsapi/LuCI.html | 48 +++---- jsapi/LuCI.network.Device.html | 2 +- jsapi/LuCI.network.Hosts.html | 2 +- jsapi/LuCI.network.Protocol.html | 2 +- jsapi/LuCI.network.WifiDevice.html | 2 +- jsapi/LuCI.network.WifiNetwork.html | 2 +- jsapi/LuCI.network.html | 2 +- jsapi/LuCI.poll.html | 14 +- jsapi/LuCI.request.html | 12 +- jsapi/LuCI.request.poll.html | 16 +-- jsapi/LuCI.response.html | 2 +- jsapi/LuCI.rpc.html | 2 +- jsapi/LuCI.session.html | 12 +- jsapi/LuCI.uci.html | 2 +- jsapi/LuCI.ui.AbstractElement.html | 2 +- jsapi/LuCI.ui.Checkbox.html | 2 +- jsapi/LuCI.ui.ComboButton.html | 2 +- jsapi/LuCI.ui.Combobox.html | 2 +- jsapi/LuCI.ui.Dropdown.html | 2 +- jsapi/LuCI.ui.DynamicList.html | 2 +- jsapi/LuCI.ui.FileUpload.html | 2 +- jsapi/LuCI.ui.Hiddenfield.html | 2 +- jsapi/LuCI.ui.Select.html | 2 +- jsapi/LuCI.ui.Textarea.html | 2 +- jsapi/LuCI.ui.Textfield.html | 2 +- jsapi/LuCI.ui.changes.html | 2 +- jsapi/LuCI.ui.html | 2 +- jsapi/LuCI.ui.menu.html | 2 +- jsapi/LuCI.ui.tabs.html | 2 +- jsapi/LuCI.view.html | 16 +-- jsapi/LuCI.xhr.html | 16 +-- jsapi/form.js.html | 2 +- jsapi/fs.js.html | 2 +- jsapi/index.html | 2 +- jsapi/luci.js.html | 186 ++++++++++++++------------- jsapi/network.js.html | 2 +- jsapi/rpc.js.html | 2 +- jsapi/uci.js.html | 2 +- jsapi/ui.js.html | 2 +- 64 files changed, 232 insertions(+), 230 deletions(-) diff --git a/jsapi/LuCI.baseclass.html b/jsapi/LuCI.baseclass.html index cab2dd1422..d853c6ba3c 100644 --- a/jsapi/LuCI.baseclass.html +++ b/jsapi/LuCI.baseclass.html @@ -4770,7 +4770,7 @@ and the values extracted from the args array beginning with diff --git a/jsapi/LuCI.dom.html b/jsapi/LuCI.dom.html index 39c0810512..cc225fa555 100644 --- a/jsapi/LuCI.dom.html +++ b/jsapi/LuCI.dom.html @@ -3557,7 +3557,7 @@ external JavaScript, use L.require("dom").then(...).

<
- luci.js, line 1205 + luci.js, line 1207
@@ -3642,7 +3642,7 @@ external JavaScript, use L.require("dom").then(...).

<
- luci.js, line 1359 + luci.js, line 1361
@@ -3843,7 +3843,7 @@ if either the node argument was no valid DOM node or i
- luci.js, line 1474 + luci.js, line 1476
@@ -4041,7 +4041,7 @@ call implicitely turning it into a string.

- luci.js, line 1711 + luci.js, line 1713
@@ -4242,7 +4242,7 @@ a valid Class instance.

- luci.js, line 1765 + luci.js, line 1767
@@ -4458,7 +4458,7 @@ instance didn't have the requested method.
- luci.js, line 1426 + luci.js, line 1428
@@ -4662,7 +4662,7 @@ if either the node argument was no valid DOM node or i
- luci.js, line 1552 + luci.js, line 1554
@@ -4922,7 +4922,7 @@ element names, such as spaces.

- luci.js, line 1628 + luci.js, line 1630
@@ -5161,7 +5161,7 @@ be found.
- luci.js, line 1231 + luci.js, line 1233
@@ -5306,7 +5306,7 @@ be found.
- luci.js, line 1731 + luci.js, line 1733
@@ -5456,7 +5456,7 @@ class could be found on the node itself or any of its parents.
- luci.js, line 1811 + luci.js, line 1813
@@ -5643,7 +5643,7 @@ result when testing it using the given ignoreFn.
- luci.js, line 1283 + luci.js, line 1285
@@ -5829,7 +5829,7 @@ selector didn't match.
- luci.js, line 1310 + luci.js, line 1312
@@ -6019,7 +6019,7 @@ selector didn't match any parent.
- luci.js, line 1250 + luci.js, line 1252
@@ -6174,7 +6174,7 @@ the first div element node.

- luci.js, line 1774 + luci.js, line 1776
@@ -6328,7 +6328,7 @@ ignored, else not.

diff --git a/jsapi/LuCI.form.AbstractElement.html b/jsapi/LuCI.form.AbstractElement.html index a9707eac3e..b2632eb9da 100644 --- a/jsapi/LuCI.form.AbstractElement.html +++ b/jsapi/LuCI.form.AbstractElement.html @@ -4317,7 +4317,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.AbstractSection.html b/jsapi/LuCI.form.AbstractSection.html index 31f7b6716c..23c74318d1 100644 --- a/jsapi/LuCI.form.AbstractSection.html +++ b/jsapi/LuCI.form.AbstractSection.html @@ -6216,7 +6216,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.AbstractValue.html b/jsapi/LuCI.form.AbstractValue.html index e72cf7a92a..1e9d913a60 100644 --- a/jsapi/LuCI.form.AbstractValue.html +++ b/jsapi/LuCI.form.AbstractValue.html @@ -7271,7 +7271,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.ButtonValue.html b/jsapi/LuCI.form.ButtonValue.html index b971831e75..70428f6c1d 100644 --- a/jsapi/LuCI.form.ButtonValue.html +++ b/jsapi/LuCI.form.ButtonValue.html @@ -7594,7 +7594,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.DummyValue.html b/jsapi/LuCI.form.DummyValue.html index 67b2437f13..5bd3c692f5 100644 --- a/jsapi/LuCI.form.DummyValue.html +++ b/jsapi/LuCI.form.DummyValue.html @@ -7580,7 +7580,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.DynamicList.html b/jsapi/LuCI.form.DynamicList.html index 109d556e26..14f0918ae4 100644 --- a/jsapi/LuCI.form.DynamicList.html +++ b/jsapi/LuCI.form.DynamicList.html @@ -7431,7 +7431,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.FileUpload.html b/jsapi/LuCI.form.FileUpload.html index 7d4e06a02e..1087e64211 100644 --- a/jsapi/LuCI.form.FileUpload.html +++ b/jsapi/LuCI.form.FileUpload.html @@ -7642,7 +7642,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.FlagValue.html b/jsapi/LuCI.form.FlagValue.html index 544d49698a..8c57547c95 100644 --- a/jsapi/LuCI.form.FlagValue.html +++ b/jsapi/LuCI.form.FlagValue.html @@ -7520,7 +7520,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.GridSection.html b/jsapi/LuCI.form.GridSection.html index 96df443a23..7c1e9ca124 100644 --- a/jsapi/LuCI.form.GridSection.html +++ b/jsapi/LuCI.form.GridSection.html @@ -7078,7 +7078,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.HiddenValue.html b/jsapi/LuCI.form.HiddenValue.html index d8fcd6e819..29002aac73 100644 --- a/jsapi/LuCI.form.HiddenValue.html +++ b/jsapi/LuCI.form.HiddenValue.html @@ -7435,7 +7435,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.JSONMap.html b/jsapi/LuCI.form.JSONMap.html index 1967233ef3..b2614a89a8 100644 --- a/jsapi/LuCI.form.JSONMap.html +++ b/jsapi/LuCI.form.JSONMap.html @@ -5896,7 +5896,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.ListValue.html b/jsapi/LuCI.form.ListValue.html index d70ebb31b2..a4842af414 100644 --- a/jsapi/LuCI.form.ListValue.html +++ b/jsapi/LuCI.form.ListValue.html @@ -7580,7 +7580,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.Map.html b/jsapi/LuCI.form.Map.html index c2fda7731b..47b0acf7fa 100644 --- a/jsapi/LuCI.form.Map.html +++ b/jsapi/LuCI.form.Map.html @@ -5875,7 +5875,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.MultiValue.html b/jsapi/LuCI.form.MultiValue.html index 283f49b81f..0b164573ef 100644 --- a/jsapi/LuCI.form.MultiValue.html +++ b/jsapi/LuCI.form.MultiValue.html @@ -7531,7 +7531,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.NamedSection.html b/jsapi/LuCI.form.NamedSection.html index 36b258bb8e..70ba21464a 100644 --- a/jsapi/LuCI.form.NamedSection.html +++ b/jsapi/LuCI.form.NamedSection.html @@ -6480,7 +6480,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.SectionValue.html b/jsapi/LuCI.form.SectionValue.html index a9d2a4c88f..7d3393fda9 100644 --- a/jsapi/LuCI.form.SectionValue.html +++ b/jsapi/LuCI.form.SectionValue.html @@ -7462,7 +7462,7 @@ its write() implementation is a no-op.

diff --git a/jsapi/LuCI.form.TableSection.html b/jsapi/LuCI.form.TableSection.html index 435d27c222..1bba9be545 100644 --- a/jsapi/LuCI.form.TableSection.html +++ b/jsapi/LuCI.form.TableSection.html @@ -7254,7 +7254,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.TextValue.html b/jsapi/LuCI.form.TextValue.html index e5ffe3054d..3c4cd01f13 100644 --- a/jsapi/LuCI.form.TextValue.html +++ b/jsapi/LuCI.form.TextValue.html @@ -7478,7 +7478,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.TypedSection.html b/jsapi/LuCI.form.TypedSection.html index 8e049b849f..438d94ff3d 100644 --- a/jsapi/LuCI.form.TypedSection.html +++ b/jsapi/LuCI.form.TypedSection.html @@ -6739,7 +6739,7 @@ was neither a string nor a function. diff --git a/jsapi/LuCI.form.Value.html b/jsapi/LuCI.form.Value.html index b8775f7036..1804162e21 100644 --- a/jsapi/LuCI.form.Value.html +++ b/jsapi/LuCI.form.Value.html @@ -7537,7 +7537,7 @@ before it is written.

diff --git a/jsapi/LuCI.form.html b/jsapi/LuCI.form.html index c6f2b36379..cd5ff0879b 100644 --- a/jsapi/LuCI.form.html +++ b/jsapi/LuCI.form.html @@ -3738,7 +3738,7 @@ m.render().then(function(node) { diff --git a/jsapi/LuCI.fs.html b/jsapi/LuCI.fs.html index 3194ae7d41..7679edddc8 100644 --- a/jsapi/LuCI.fs.html +++ b/jsapi/LuCI.fs.html @@ -5915,7 +5915,7 @@ the failure reason. diff --git a/jsapi/LuCI.headers.html b/jsapi/LuCI.headers.html index 565c008a3b..b2ff68d2db 100644 --- a/jsapi/LuCI.headers.html +++ b/jsapi/LuCI.headers.html @@ -3943,7 +3943,7 @@ Note: Header-Names are case-insensitive.

diff --git a/jsapi/LuCI.html b/jsapi/LuCI.html index 47e6812544..4e9560ba54 100644 --- a/jsapi/LuCI.html +++ b/jsapi/LuCI.html @@ -4022,7 +4022,7 @@ to request the LuCI.view class.

- luci.js, line 2389 + luci.js, line 2391
@@ -4234,7 +4234,7 @@ as parameters.

- luci.js, line 2348 + luci.js, line 2350
@@ -4473,7 +4473,7 @@ argument or copied from the given error instance.

- luci.js, line 2769 + luci.js, line 2771
@@ -4628,7 +4628,7 @@ document root.

- luci.js, line 3073 + luci.js, line 3075
@@ -4840,7 +4840,7 @@ callback function. The function is a wrapper around
- luci.js, line 3211 + luci.js, line 3213
@@ -4943,7 +4943,7 @@ when it didn't run to begin with.
- luci.js, line 2647 + luci.js, line 2649
@@ -5136,7 +5136,7 @@ has no sub-features.
- luci.js, line 3177 + luci.js, line 3179
@@ -5242,7 +5242,7 @@ group is granted with write permissions.
- luci.js, line 2915 + luci.js, line 2917
@@ -5397,7 +5397,7 @@ not null, else returns false.
- luci.js, line 2895 + luci.js, line 2897
@@ -5497,7 +5497,7 @@ not null, else returns false.
- luci.js, line 2882 + luci.js, line 2884
@@ -5654,7 +5654,7 @@ slashes and any of the other characters mentioned above.

- luci.js, line 2807 + luci.js, line 2809
@@ -5841,7 +5841,7 @@ slashes and any of the other characters mentioned above.

- luci.js, line 3143 + luci.js, line 3145
@@ -6146,7 +6146,7 @@ polling request.
- luci.js, line 3101 + luci.js, line 3103
@@ -6361,7 +6361,7 @@ by default.

- luci.js, line 2282 + luci.js, line 2284
@@ -6600,7 +6600,7 @@ argument or copied from the given error instance.

- luci.js, line 2428 + luci.js, line 2430
@@ -6858,7 +6858,7 @@ class instance.

- luci.js, line 3028 + luci.js, line 3030
@@ -7029,7 +7029,7 @@ to the given default value on error.
- luci.js, line 2860 + luci.js, line 2862
@@ -7186,7 +7186,7 @@ slashes and any of the other characters mentioned above.

- luci.js, line 3224 + luci.js, line 3226
@@ -7289,7 +7289,7 @@ when it was already running.
- luci.js, line 2944 + luci.js, line 2946
@@ -7506,7 +7506,7 @@ addresses or numeric values respectively.

- luci.js, line 3198 + luci.js, line 3200
@@ -7654,7 +7654,7 @@ it could not be found.
- luci.js, line 2994 + luci.js, line 2996
@@ -7804,7 +7804,7 @@ space and returned as array.

- luci.js, line 2838 + luci.js, line 2840
@@ -7967,7 +7967,7 @@ slashes and any of the other characters mentioned above.

- luci.js, line 3032 + luci.js, line 3034
@@ -8138,7 +8138,7 @@ else null.

diff --git a/jsapi/LuCI.network.Device.html b/jsapi/LuCI.network.Device.html index 34faef60bf..a5eebdb640 100644 --- a/jsapi/LuCI.network.Device.html +++ b/jsapi/LuCI.network.Device.html @@ -6308,7 +6308,7 @@ when it is down or absent. diff --git a/jsapi/LuCI.network.Hosts.html b/jsapi/LuCI.network.Hosts.html index 4549e36841..4e69d47739 100644 --- a/jsapi/LuCI.network.Hosts.html +++ b/jsapi/LuCI.network.Hosts.html @@ -4869,7 +4869,7 @@ is used as hint. diff --git a/jsapi/LuCI.network.Protocol.html b/jsapi/LuCI.network.Protocol.html index 5e0a1862e5..f5c03e36d0 100644 --- a/jsapi/LuCI.network.Protocol.html +++ b/jsapi/LuCI.network.Protocol.html @@ -8099,7 +8099,7 @@ configuration.

diff --git a/jsapi/LuCI.network.WifiDevice.html b/jsapi/LuCI.network.WifiDevice.html index c4f25943d3..f85b8d166c 100644 --- a/jsapi/LuCI.network.WifiDevice.html +++ b/jsapi/LuCI.network.WifiDevice.html @@ -5240,7 +5240,7 @@ configuration.

diff --git a/jsapi/LuCI.network.WifiNetwork.html b/jsapi/LuCI.network.WifiNetwork.html index e955373f4c..e5efa42df0 100644 --- a/jsapi/LuCI.network.WifiNetwork.html +++ b/jsapi/LuCI.network.WifiNetwork.html @@ -7830,7 +7830,7 @@ configuration.

diff --git a/jsapi/LuCI.network.html b/jsapi/LuCI.network.html index 140230b56f..9e8cbf6f90 100644 --- a/jsapi/LuCI.network.html +++ b/jsapi/LuCI.network.html @@ -9678,7 +9678,7 @@ conjunction with quality to calculate a quality percentage.

- Documentation generated by JSDoc 3.6.10 on Fri Feb 18 2022 20:21:09 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Mon Feb 21 2022 14:06:53 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/LuCI.poll.html b/jsapi/LuCI.poll.html index 89539276db..10ad374134 100644 --- a/jsapi/LuCI.poll.html +++ b/jsapi/LuCI.poll.html @@ -3556,7 +3556,7 @@ loop.

- luci.js, line 1039 + luci.js, line 1041
@@ -3641,7 +3641,7 @@ loop.

- luci.js, line 1200 + luci.js, line 1202
@@ -3743,7 +3743,7 @@ loop.

- luci.js, line 1073 + luci.js, line 1075
@@ -3940,7 +3940,7 @@ already is registered.
- luci.js, line 1114 + luci.js, line 1116
@@ -4114,7 +4114,7 @@ wasn't found.
- luci.js, line 1140 + luci.js, line 1142
@@ -4216,7 +4216,7 @@ where registered) or false when the polling loop already runs.
- luci.js, line 1165 + luci.js, line 1167
@@ -4326,7 +4326,7 @@ run to begin with. diff --git a/jsapi/LuCI.request.html b/jsapi/LuCI.request.html index 76c3e03916..3738763c40 100644 --- a/jsapi/LuCI.request.html +++ b/jsapi/LuCI.request.html @@ -3647,7 +3647,7 @@ for dealing with responses.

- luci.js, line 893 + luci.js, line 895
@@ -3941,7 +3941,7 @@ if it already was absolute.
- luci.js, line 846 + luci.js, line 848
@@ -4121,7 +4121,7 @@ if it already was absolute.
- luci.js, line 867 + luci.js, line 869
@@ -4331,7 +4331,7 @@ if it already was absolute.
- luci.js, line 912 + luci.js, line 914
@@ -4664,7 +4664,7 @@ function.

- luci.js, line 871 + luci.js, line 873
@@ -5261,7 +5261,7 @@ instances as sole argument during the HTTP request transfer.

diff --git a/jsapi/LuCI.request.poll.html b/jsapi/LuCI.request.poll.html index b05ca5b0ed..a6ee9d79dc 100644 --- a/jsapi/LuCI.request.poll.html +++ b/jsapi/LuCI.request.poll.html @@ -3556,7 +3556,7 @@ request calls as polling functions.

- luci.js, line 930 + luci.js, line 932
@@ -3641,7 +3641,7 @@ request calls as polling functions.

- luci.js, line 1035 + luci.js, line 1037
@@ -3712,7 +3712,7 @@ request calls as polling functions.

- luci.js, line 973 + luci.js, line 975
@@ -3979,7 +3979,7 @@ invoke for each HTTP reply.

- luci.js, line 1011 + luci.js, line 1013
@@ -4126,7 +4126,7 @@ This function is essentially a wrapper around
- luci.js, line 1019 + luci.js, line 1021
@@ -4197,7 +4197,7 @@ This function is essentially a wrapper around
- luci.js, line 1027 + luci.js, line 1029
@@ -4274,7 +4274,7 @@ This function is essentially a wrapper around
- luci.js, line 931 + luci.js, line 933
@@ -4445,7 +4445,7 @@ else null.

diff --git a/jsapi/LuCI.response.html b/jsapi/LuCI.response.html index 1127799068..8252cfc578 100644 --- a/jsapi/LuCI.response.html +++ b/jsapi/LuCI.response.html @@ -4403,7 +4403,7 @@ using String() and treated as response text.

diff --git a/jsapi/LuCI.rpc.html b/jsapi/LuCI.rpc.html index 76f90c6264..b6275d6af2 100644 --- a/jsapi/LuCI.rpc.html +++ b/jsapi/LuCI.rpc.html @@ -5734,7 +5734,7 @@ to the expect and filter declarations. diff --git a/jsapi/LuCI.session.html b/jsapi/LuCI.session.html index fd9f190918..2d525961e4 100644 --- a/jsapi/LuCI.session.html +++ b/jsapi/LuCI.session.html @@ -3554,7 +3554,7 @@
- luci.js, line 1820 + luci.js, line 1822
@@ -3639,7 +3639,7 @@
- luci.js, line 1837 + luci.js, line 1839
@@ -3739,7 +3739,7 @@
- luci.js, line 1862 + luci.js, line 1864
@@ -3893,7 +3893,7 @@ found.
- luci.js, line 1847 + luci.js, line 1849
@@ -3996,7 +3996,7 @@ found.
- luci.js, line 1896 + luci.js, line 1898
@@ -4173,7 +4173,7 @@ being put in the session store.

diff --git a/jsapi/LuCI.uci.html b/jsapi/LuCI.uci.html index 8c55235b78..a6dd0901c8 100644 --- a/jsapi/LuCI.uci.html +++ b/jsapi/LuCI.uci.html @@ -7221,7 +7221,7 @@ associated name as arguments.

diff --git a/jsapi/LuCI.ui.AbstractElement.html b/jsapi/LuCI.ui.AbstractElement.html index 58fb66858d..e1093a6d53 100644 --- a/jsapi/LuCI.ui.AbstractElement.html +++ b/jsapi/LuCI.ui.AbstractElement.html @@ -5277,7 +5277,7 @@ and are displayed in a slightly faded style.

diff --git a/jsapi/LuCI.ui.Checkbox.html b/jsapi/LuCI.ui.Checkbox.html index 174db716e0..a26c910d31 100644 --- a/jsapi/LuCI.ui.Checkbox.html +++ b/jsapi/LuCI.ui.Checkbox.html @@ -5391,7 +5391,7 @@ it is required for HTML based form submissions.

diff --git a/jsapi/LuCI.ui.ComboButton.html b/jsapi/LuCI.ui.ComboButton.html index 193f8a1fb6..afc877736f 100644 --- a/jsapi/LuCI.ui.ComboButton.html +++ b/jsapi/LuCI.ui.ComboButton.html @@ -5421,7 +5421,7 @@ choice value as second argument.

diff --git a/jsapi/LuCI.ui.Combobox.html b/jsapi/LuCI.ui.Combobox.html index 7fc80b3f3b..810895f9c5 100644 --- a/jsapi/LuCI.ui.Combobox.html +++ b/jsapi/LuCI.ui.Combobox.html @@ -5324,7 +5324,7 @@ forcibly set to true.

diff --git a/jsapi/LuCI.ui.Dropdown.html b/jsapi/LuCI.ui.Dropdown.html index fef596328c..f65267c5c3 100644 --- a/jsapi/LuCI.ui.Dropdown.html +++ b/jsapi/LuCI.ui.Dropdown.html @@ -6122,7 +6122,7 @@ expression. Only applicable when create is true.

- Documentation generated by JSDoc 3.6.10 on Fri Feb 18 2022 20:21:10 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Mon Feb 21 2022 14:06:53 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/LuCI.ui.DynamicList.html b/jsapi/LuCI.ui.DynamicList.html index 7ce2dfaf28..4e2b342860 100644 --- a/jsapi/LuCI.ui.DynamicList.html +++ b/jsapi/LuCI.ui.DynamicList.html @@ -5499,7 +5499,7 @@ it to remain unselected.

diff --git a/jsapi/LuCI.ui.FileUpload.html b/jsapi/LuCI.ui.FileUpload.html index bef2db9cf0..2956c9ef35 100644 --- a/jsapi/LuCI.ui.FileUpload.html +++ b/jsapi/LuCI.ui.FileUpload.html @@ -5348,7 +5348,7 @@ ACL setup for the current session.

diff --git a/jsapi/LuCI.ui.Hiddenfield.html b/jsapi/LuCI.ui.Hiddenfield.html index b765deeb01..7027c3f527 100644 --- a/jsapi/LuCI.ui.Hiddenfield.html +++ b/jsapi/LuCI.ui.Hiddenfield.html @@ -5102,7 +5102,7 @@ trigger validation runs, e.g. when programmatically altering values.

diff --git a/jsapi/LuCI.ui.Select.html b/jsapi/LuCI.ui.Select.html index c69e53991c..01a8b1f310 100644 --- a/jsapi/LuCI.ui.Select.html +++ b/jsapi/LuCI.ui.Select.html @@ -5451,7 +5451,7 @@ selected yet. Only applicable to the select widget type.

diff --git a/jsapi/LuCI.ui.Textarea.html b/jsapi/LuCI.ui.Textarea.html index 076e378427..fe0e0ec492 100644 --- a/jsapi/LuCI.ui.Textarea.html +++ b/jsapi/LuCI.ui.Textarea.html @@ -5400,7 +5400,7 @@ contents.

diff --git a/jsapi/LuCI.ui.Textfield.html b/jsapi/LuCI.ui.Textfield.html index e230a95766..9b9689c877 100644 --- a/jsapi/LuCI.ui.Textfield.html +++ b/jsapi/LuCI.ui.Textfield.html @@ -5328,7 +5328,7 @@ corresponding <input> element is empty.

diff --git a/jsapi/LuCI.ui.changes.html b/jsapi/LuCI.ui.changes.html index e8b7835ea6..6211f4ec13 100644 --- a/jsapi/LuCI.ui.changes.html +++ b/jsapi/LuCI.ui.changes.html @@ -4180,7 +4180,7 @@ is removed.

diff --git a/jsapi/LuCI.ui.html b/jsapi/LuCI.ui.html index 45f12232c8..705f0a8235 100644 --- a/jsapi/LuCI.ui.html +++ b/jsapi/LuCI.ui.html @@ -6273,7 +6273,7 @@ cancelled by the user. diff --git a/jsapi/LuCI.ui.menu.html b/jsapi/LuCI.ui.menu.html index 7627e37590..d8b1fd18f5 100644 --- a/jsapi/LuCI.ui.menu.html +++ b/jsapi/LuCI.ui.menu.html @@ -4227,7 +4227,7 @@ internal root node if omitted.

diff --git a/jsapi/LuCI.ui.tabs.html b/jsapi/LuCI.ui.tabs.html index bc8742bf50..d4a1d37502 100644 --- a/jsapi/LuCI.ui.tabs.html +++ b/jsapi/LuCI.ui.tabs.html @@ -3927,7 +3927,7 @@ DOM node.

diff --git a/jsapi/LuCI.view.html b/jsapi/LuCI.view.html index 08415dc80f..93cbe53600 100644 --- a/jsapi/LuCI.view.html +++ b/jsapi/LuCI.view.html @@ -3555,7 +3555,7 @@ set of methods to inherit from.

- luci.js, line 1925 + luci.js, line 1927
@@ -3640,7 +3640,7 @@ set of methods to inherit from.

- luci.js, line 2152 + luci.js, line 2154
@@ -3753,7 +3753,7 @@ methods are overwritten with null.
- luci.js, line 2118 + luci.js, line 2120
@@ -3917,7 +3917,7 @@ is reenabled.
- luci.js, line 2037 + luci.js, line 2039
@@ -4081,7 +4081,7 @@ is reenabled.
- luci.js, line 2081 + luci.js, line 2083
@@ -4247,7 +4247,7 @@ is reenabled.
- luci.js, line 1972 + luci.js, line 1974
@@ -4357,7 +4357,7 @@ the default implementation does nothing.

- luci.js, line 2004 + luci.js, line 2006
@@ -4531,7 +4531,7 @@ to a Node value. diff --git a/jsapi/LuCI.xhr.html b/jsapi/LuCI.xhr.html index f62bfb2c17..150b620c2c 100644 --- a/jsapi/LuCI.xhr.html +++ b/jsapi/LuCI.xhr.html @@ -3558,7 +3558,7 @@ request handling.

- luci.js, line 3277 + luci.js, line 3279
@@ -3645,7 +3645,7 @@ request handling.

- luci.js, line 3393 + luci.js, line 3395
@@ -3719,7 +3719,7 @@ request handling.

- luci.js, line 3382 + luci.js, line 3384
@@ -3822,7 +3822,7 @@ already completed.
- luci.js, line 3369 + luci.js, line 3371
@@ -3899,7 +3899,7 @@ finishes or timed out.

- luci.js, line 3325 + luci.js, line 3327
@@ -4142,7 +4142,7 @@ finishes or timed out.

- luci.js, line 3352 + luci.js, line 3354
@@ -4385,7 +4385,7 @@ finishes or timed out.

- luci.js, line 3408 + luci.js, line 3410
@@ -4495,7 +4495,7 @@ when invoked.

diff --git a/jsapi/form.js.html b/jsapi/form.js.html index 1b3b920230..5b42c61593 100644 --- a/jsapi/form.js.html +++ b/jsapi/form.js.html @@ -8281,7 +8281,7 @@ return baseclass.extend(/** @lends LuCI.form.prototype */ { diff --git a/jsapi/fs.js.html b/jsapi/fs.js.html index 9eee7112e4..7f89a64fd0 100644 --- a/jsapi/fs.js.html +++ b/jsapi/fs.js.html @@ -3969,7 +3969,7 @@ return FileSystem; diff --git a/jsapi/index.html b/jsapi/index.html index 52bac7f374..b416ec1b2e 100644 --- a/jsapi/index.html +++ b/jsapi/index.html @@ -3556,7 +3556,7 @@ is the central JSDoc 3.6.10 on Fri Feb 18 2022 20:21:09 GMT+0000 (Coordinated Universal Time) + Documentation generated by JSDoc 3.6.10 on Mon Feb 21 2022 14:06:52 GMT+0000 (Coordinated Universal Time) diff --git a/jsapi/luci.js.html b/jsapi/luci.js.html index 5b2d6f4df4..14d7427b4b 100644 --- a/jsapi/luci.js.html +++ b/jsapi/luci.js.html @@ -4225,115 +4225,117 @@ * The resulting HTTP response. */ request: function(target, options) { - var state = { xhr: new XMLHttpRequest(), url: this.expandURL(target), start: Date.now() }, - opt = Object.assign({}, options, state), - content = null, - contenttype = null, - callback = this.handleReadyStateChange; - - return new Promise(function(resolveFn, rejectFn) { - opt.xhr.onreadystatechange = callback.bind(opt, resolveFn, rejectFn); - opt.method = String(opt.method || 'GET').toUpperCase(); - - if ('query' in opt) { - var q = (opt.query != null) ? Object.keys(opt.query).map(function(k) { - if (opt.query[k] != null) { - var v = (typeof(opt.query[k]) == 'object') - ? JSON.stringify(opt.query[k]) - : String(opt.query[k]); - - return '%s=%s'.format(encodeURIComponent(k), encodeURIComponent(v)); - } - else { - return encodeURIComponent(k); - } - }).join('&') : ''; - - if (q !== '') { - switch (opt.method) { - case 'GET': - case 'HEAD': - case 'OPTIONS': - opt.url += ((/\?/).test(opt.url) ? '&' : '?') + q; - break; - - default: - if (content == null) { - content = q; - contenttype = 'application/x-www-form-urlencoded'; + return Promise.resolve(target).then((function(url) { + var state = { xhr: new XMLHttpRequest(), url: this.expandURL(url), start: Date.now() }, + opt = Object.assign({}, options, state), + content = null, + contenttype = null, + callback = this.handleReadyStateChange; + + return new Promise(function(resolveFn, rejectFn) { + opt.xhr.onreadystatechange = callback.bind(opt, resolveFn, rejectFn); + opt.method = String(opt.method || 'GET').toUpperCase(); + + if ('query' in opt) { + var q = (opt.query != null) ? Object.keys(opt.query).map(function(k) { + if (opt.query[k] != null) { + var v = (typeof(opt.query[k]) == 'object') + ? JSON.stringify(opt.query[k]) + : String(opt.query[k]); + + return '%s=%s'.format(encodeURIComponent(k), encodeURIComponent(v)); + } + else { + return encodeURIComponent(k); + } + }).join('&') : ''; + + if (q !== '') { + switch (opt.method) { + case 'GET': + case 'HEAD': + case 'OPTIONS': + opt.url += ((/\?/).test(opt.url) ? '&' : '?') + q; + break; + + default: + if (content == null) { + content = q; + contenttype = 'application/x-www-form-urlencoded'; + } } } } - } - if (!opt.cache) - opt.url += ((/\?/).test(opt.url) ? '&' : '?') + (new Date()).getTime(); + if (!opt.cache) + opt.url += ((/\?/).test(opt.url) ? '&' : '?') + (new Date()).getTime(); - if (isQueueableRequest(opt)) { - requestQueue.push([opt, rejectFn, resolveFn]); - requestAnimationFrame(flushRequestQueue); - return; - } + if (isQueueableRequest(opt)) { + requestQueue.push([opt, rejectFn, resolveFn]); + requestAnimationFrame(flushRequestQueue); + return; + } - if ('username' in opt && 'password' in opt) - opt.xhr.open(opt.method, opt.url, true, opt.username, opt.password); - else - opt.xhr.open(opt.method, opt.url, true); + if ('username' in opt && 'password' in opt) + opt.xhr.open(opt.method, opt.url, true, opt.username, opt.password); + else + opt.xhr.open(opt.method, opt.url, true); - opt.xhr.responseType = opt.responseType || 'text'; + opt.xhr.responseType = opt.responseType || 'text'; - if ('overrideMimeType' in opt.xhr) - opt.xhr.overrideMimeType('application/octet-stream'); + if ('overrideMimeType' in opt.xhr) + opt.xhr.overrideMimeType('application/octet-stream'); - if ('timeout' in opt) - opt.xhr.timeout = +opt.timeout; + if ('timeout' in opt) + opt.xhr.timeout = +opt.timeout; - if ('credentials' in opt) - opt.xhr.withCredentials = !!opt.credentials; + if ('credentials' in opt) + opt.xhr.withCredentials = !!opt.credentials; - if (opt.content != null) { - switch (typeof(opt.content)) { - case 'function': - content = opt.content(opt.xhr); - break; + if (opt.content != null) { + switch (typeof(opt.content)) { + case 'function': + content = opt.content(opt.xhr); + break; - case 'object': - if (!(opt.content instanceof FormData)) { - content = JSON.stringify(opt.content); - contenttype = 'application/json'; - } - else { - content = opt.content; - } - break; + case 'object': + if (!(opt.content instanceof FormData)) { + content = JSON.stringify(opt.content); + contenttype = 'application/json'; + } + else { + content = opt.content; + } + break; - default: - content = String(opt.content); + default: + content = String(opt.content); + } } - } - if ('headers' in opt) - for (var header in opt.headers) - if (opt.headers.hasOwnProperty(header)) { - if (header.toLowerCase() != 'content-type') - opt.xhr.setRequestHeader(header, opt.headers[header]); - else - contenttype = opt.headers[header]; - } + if ('headers' in opt) + for (var header in opt.headers) + if (opt.headers.hasOwnProperty(header)) { + if (header.toLowerCase() != 'content-type') + opt.xhr.setRequestHeader(header, opt.headers[header]); + else + contenttype = opt.headers[header]; + } - if ('progress' in opt && 'upload' in opt.xhr) - opt.xhr.upload.addEventListener('progress', opt.progress); + if ('progress' in opt && 'upload' in opt.xhr) + opt.xhr.upload.addEventListener('progress', opt.progress); - if (contenttype != null) - opt.xhr.setRequestHeader('Content-Type', contenttype); + if (contenttype != null) + opt.xhr.setRequestHeader('Content-Type', contenttype); - try { - opt.xhr.send(content); - } - catch (e) { - rejectFn.call(opt, e); - } - }); + try { + opt.xhr.send(content); + } + catch (e) { + rejectFn.call(opt, e); + } + }); + }).bind(this)); }, handleReadyStateChange: function(resolveFn, rejectFn, ev) { @@ -6961,7 +6963,7 @@ diff --git a/jsapi/network.js.html b/jsapi/network.js.html index 064e66548b..68510c6149 100644 --- a/jsapi/network.js.html +++ b/jsapi/network.js.html @@ -7929,7 +7929,7 @@ return Network; diff --git a/jsapi/rpc.js.html b/jsapi/rpc.js.html index fc18d4bf11..f6e66e167b 100644 --- a/jsapi/rpc.js.html +++ b/jsapi/rpc.js.html @@ -4025,7 +4025,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ { diff --git a/jsapi/uci.js.html b/jsapi/uci.js.html index 2206f36582..c83d6dd679 100644 --- a/jsapi/uci.js.html +++ b/jsapi/uci.js.html @@ -4525,7 +4525,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ { diff --git a/jsapi/ui.js.html b/jsapi/ui.js.html index b0007136b5..ab4fd7adcc 100644 --- a/jsapi/ui.js.html +++ b/jsapi/ui.js.html @@ -8077,7 +8077,7 @@ return UI; -- 2.30.2