summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2026-02-16 02:41:23 +0000
committerPaul Donald2026-02-16 02:41:36 +0000
commit92e10123146befa5e56052c3304e24029ec84e69 (patch)
treebbf9cf195cc07eceec203c76f7b89b49914de217
parent74f5bbdc116f8a1a46d0040f762e3182523f5875 (diff)
downloadluci-92e10123146befa5e56052c3304e24029ec84e69.tar.gz
luci-base: fix front matter for luci-base classes
Linking the namespaces provides hierarchy which satisfies various errors and warnings, but hides the front matter for the classes for some reason. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/firewall.js9
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/form.js5
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/fs.js5
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/network.js5
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/rpc.js5
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/uci.js5
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js5
7 files changed, 0 insertions, 39 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/firewall.js b/modules/luci-base/htdocs/luci-static/resources/firewall.js
index e85dd8d2ed..45eca10045 100644
--- a/modules/luci-base/htdocs/luci-static/resources/firewall.js
+++ b/modules/luci-base/htdocs/luci-static/resources/firewall.js
@@ -5,15 +5,6 @@
/**
- * @namespace LuCI
- */
-
-/**
- * @namespace LuCI.firewall
- * @memberof LuCI
- */
-
-/**
* Load the firewall configuration.
* @returns {Promise}
*/
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js
index c4bb5f8a5b..e351a2ee0c 100644
--- a/modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/modules/luci-base/htdocs/luci-static/resources/form.js
@@ -191,11 +191,6 @@ const CBIJSONConfig = baseclass.extend({
});
/**
- * @namespace LuCI.form
- * @memberof LuCI
- */
-
-/**
* @class AbstractElement
* @memberof LuCI.form
* @hideconstructor
diff --git a/modules/luci-base/htdocs/luci-static/resources/fs.js b/modules/luci-base/htdocs/luci-static/resources/fs.js
index 94e9cd4e4f..03048f4aaf 100644
--- a/modules/luci-base/htdocs/luci-static/resources/fs.js
+++ b/modules/luci-base/htdocs/luci-static/resources/fs.js
@@ -4,11 +4,6 @@
'require baseclass';
/**
- * @namespace LuCI.fs
- * @memberof LuCI
- */
-
-/**
* @typedef {Object} FileStatEntry
* @memberof LuCI.fs
*
diff --git a/modules/luci-base/htdocs/luci-static/resources/network.js b/modules/luci-base/htdocs/luci-static/resources/network.js
index 176e16e9a5..129cd74c1e 100644
--- a/modules/luci-base/htdocs/luci-static/resources/network.js
+++ b/modules/luci-base/htdocs/luci-static/resources/network.js
@@ -643,11 +643,6 @@ function enumerateNetworks() {
let Hosts, Network, Protocol, Device, WifiDevice, WifiNetwork, WifiVlan;
/**
- * @namespace LuCI.network
- * @memberof LuCI
- */
-
-/**
* @class network
* @memberof LuCI
* @hideconstructor
diff --git a/modules/luci-base/htdocs/luci-static/resources/rpc.js b/modules/luci-base/htdocs/luci-static/resources/rpc.js
index fa48ebef45..72ccbd26e2 100644
--- a/modules/luci-base/htdocs/luci-static/resources/rpc.js
+++ b/modules/luci-base/htdocs/luci-static/resources/rpc.js
@@ -8,11 +8,6 @@ let rpcBaseURL = L.url('admin/ubus');
const rpcInterceptorFns = [];
/**
- * @namespace LuCI.rpc
- * @memberof LuCI
- */
-
-/**
* @class rpc
* @memberof LuCI
* @hideconstructor
diff --git a/modules/luci-base/htdocs/luci-static/resources/uci.js b/modules/luci-base/htdocs/luci-static/resources/uci.js
index d9673910e5..f53b548e3e 100644
--- a/modules/luci-base/htdocs/luci-static/resources/uci.js
+++ b/modules/luci-base/htdocs/luci-static/resources/uci.js
@@ -17,11 +17,6 @@ function isEmpty(object, ignore) {
}
/**
- * @namespace LuCI.uci
- * @memberof LuCI
- */
-
-/**
* @class uci
* @memberof LuCI
* @hideconstructor
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 1b975dfffe..7802fe0765 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -15,11 +15,6 @@ let indicatorDiv = null;
let tooltipTimeout = null;
/**
- * @namespace LuCI.ui
- * @memberof LuCI
- */
-
-/**
* @class AbstractElement
* @memberof LuCI.ui
* @hideconstructor