From 84dbabe0abfc74a51e315af4c308003769eabda2 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Fri, 6 Dec 2024 03:21:01 +0000 Subject: [PATCH] luci-app-adblock-fast: catch up to snapshots version Signed-off-by: Stan Grishin --- applications/luci-app-adblock-fast/Makefile | 2 +- .../luci-static/resources/adblock-fast/status.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/luci-app-adblock-fast/Makefile b/applications/luci-app-adblock-fast/Makefile index 42e4af9de5..f03802ee46 100644 --- a/applications/luci-app-adblock-fast/Makefile +++ b/applications/luci-app-adblock-fast/Makefile @@ -7,7 +7,7 @@ PKG_NAME:=luci-app-adblock-fast PKG_LICENSE:=AGPL-3.0-or-later PKG_MAINTAINER:=Stan Grishin PKG_VERSION:=1.1.2 -PKG_RELEASE:=16 +PKG_RELEASE:=18 LUCI_TITLE:=AdBlock-Fast Web UI LUCI_URL:=https://github.com/stangri/luci-app-adblock-fast/ diff --git a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js index 1307065eb1..d89e228953 100644 --- a/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js +++ b/applications/luci-app-adblock-fast/htdocs/luci-static/resources/adblock-fast/status.js @@ -27,31 +27,31 @@ var pkg = { }, }; -const getFileUrlFilesizes = rpc.declare({ +var getFileUrlFilesizes = rpc.declare({ object: "luci." + pkg.Name, method: "getFileUrlFilesizes", params: ["name", "url"], }); -const getInitList = rpc.declare({ +var getInitList = rpc.declare({ object: "luci." + pkg.Name, method: "getInitList", params: ["name"], }); -const getInitStatus = rpc.declare({ +var getInitStatus = rpc.declare({ object: "luci." + pkg.Name, method: "getInitStatus", params: ["name"], }); -const getPlatformSupport = rpc.declare({ +var getPlatformSupport = rpc.declare({ object: "luci." + pkg.Name, method: "getPlatformSupport", params: ["name"], }); -const _setInitAction = rpc.declare({ +var _setInitAction = rpc.declare({ object: "luci." + pkg.Name, method: "setInitAction", params: ["name", "action"], -- 2.30.2