From bc79691d846d5f60c3d60c4140e88fc37e42e656 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Mon, 23 Dec 2024 17:55:51 +0000 Subject: [PATCH] luci-base: jsdoc fixes Correctly describe the parameter for the various URL/path functions. Signed-off-by: Paul Donald --- modules/luci-base/htdocs/luci-static/resources/luci.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 1a5fecc8b3..f2e78b1fa4 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -2744,7 +2744,7 @@ * The prefix to join the given parts with. If the `prefix` is * omitted, it defaults to an empty string. * - * @param {string[]} [parts] + * @param {...string} [parts] * An array of parts to join into a URL path. Parts may contain * slashes and any of the other characters mentioned above. * @@ -2782,7 +2782,7 @@ * @instance * @memberof LuCI * - * @param {string[]} [parts] + * @param {...string} [parts] * An array of parts to join into a URL path. Parts may contain * slashes and any of the other characters mentioned above. * @@ -2806,7 +2806,7 @@ * @instance * @memberof LuCI * - * @param {string[]} [parts] + * @param {...string} [parts] * An array of parts to join into a URL path. Parts may contain * slashes and any of the other characters mentioned above. * @@ -2830,7 +2830,7 @@ * @instance * @memberof LuCI * - * @param {string[]} [parts] + * @param {...string} [parts] * An array of parts to join into a URL path. Parts may contain * slashes and any of the other characters mentioned above. * -- 2.30.2