treewide: replace "var m, s, o" with "let m, s, o"
authorSergey Ponomarev <stokito@gmail.com>
Sun, 1 Dec 2024 11:36:19 +0000 (13:36 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 3 Dec 2024 15:25:21 +0000 (16:25 +0100)
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
86 files changed:
applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js
applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
applications/luci-app-alist/htdocs/luci-static/resources/view/alist/config.js
applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_delay.js
applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_down.js
applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_loss.js
applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/interfaces.js
applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/targets.js
applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/config.js
applications/luci-app-bcp38/htdocs/luci-static/resources/view/bcp38/form.js
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js
applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js
applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js
applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
applications/luci-app-dump1090/htdocs/luci-static/resources/view/dump1090/dump1090.js
applications/luci-app-email/htdocs/luci-static/resources/view/email/emailrelay.js
applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js
applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js
applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js
applications/luci-app-filebrowser/htdocs/luci-static/resources/view/system/filebrowser.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js
applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
applications/luci-app-frps/htdocs/luci-static/resources/view/frps.js
applications/luci-app-fwknopd/htdocs/luci-static/resources/view/fwknopd.js
applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/globals.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/url.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js
applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/globals.js
applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/proposals.js
applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/tunnels.js
applications/luci-app-lorawan-basicstation/htdocs/luci-static/resources/view/lorawan-basicstation/general.js
applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js
applications/luci-app-mjpg-streamer/htdocs/luci-static/resources/view/mjpg-streamer/mjpg-streamer.js
applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js
applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js
applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js
applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js
applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js
applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js
applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js
applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrddisplay.js
applications/luci-app-omcproxy/htdocs/luci-static/resources/view/omcproxy.js
applications/luci-app-openwisp/htdocs/luci-static/resources/view/openwisp.js
applications/luci-app-pagekitec/htdocs/luci-static/resources/view/pagekitec.js
applications/luci-app-qos/htdocs/luci-static/resources/view/qos/qos.js
applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js
applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js
applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/leds.js
applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/proxies.js
applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/settings.js
applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js
applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_hosts.js
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js
applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_tunnels.js
applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js
applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor-hs.js
applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js
applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
applications/luci-app-v2raya/htdocs/luci-static/resources/view/v2raya/config.js
applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js
applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js
applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js
applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js

index 50e6075fbb835020e56fa5b96220b762219280aa..f62f17fd4ddf6b94a23cf7cd0ef902ad32d30d4d 100644 (file)
@@ -200,7 +200,7 @@ return view.extend({
                        }
                }
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('rpcd', _('LuCI Logins'));
 
index 5bdc0c998097e7b73b8aa6b5b2205fe9970c9e59..201a7ecead67258e7542fbeef25b93ec84858b08 100644 (file)
@@ -20,7 +20,7 @@ return view.extend({
        render: function (certs) {
                let wikiUrl = 'https://github.com/acmesh-official/acme.sh/wiki/';
                var wikiInstructionUrl = wikiUrl + 'dnsapi';
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map("acme", _("ACME certificates"),
                        _("This configures ACME (Letsencrypt) automatic certificate installation. " +
index b8b0537d1b13739b3c8be370abf0cff53b8303c8..e0df36f22522e87b23da006d3e655cdd971f9aa2 100644 (file)
@@ -131,7 +131,7 @@ return view.extend({
        },
 
        render: function(result) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('adblock', 'Adblock', _('Configuration of the adblock package to block ad/abuse domains by using DNS. \
                        For further information <a href="https://github.com/openwrt/packages/blob/master/net/adblock/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>'));
index c31aa7c4972969639af5445622feeb5e61a2b861..7cda53d3ff3f38df26730752e35133c49f60a40d 100644 (file)
@@ -60,7 +60,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
                var webport = uci.get(data[0], 'config', 'listen_http_port') || '5244';
 
                m = new form.Map('alist', _('AList'),
index ed0c7c1b985eb764fcb768285e9af33f01d2ab80..74dff5c4826a86b4e128e3d01db1b3a4596a43c7 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('apinger', _('Apinger - Delay Alarms'), 
                         ('This alarm will be fired when target responses are delayed more than "Delay High"') + '<br />' +
index 59f15f2ae8101670f59b71914b0d9a344b7c0791..2b66c454122987c4e72bf3e11c6560c78d3cf79e 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('apinger', _('Apinger - Down Alarm'),
                        _('This alarm will be fired when target does not respond for "Time"'));
index 73da7e879b7a1ca19ccf33ee007720be81d267df..94c6cd91494af49ae6571a547d7939f331be368f 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('apinger', _('Apinger - Loss Alarms'),
                        _('This alarm will be fired when packet loss goes over "Loss High"') + '<br />' +
index 5f53b27639e8cfaf8d3e7afab502117c440050cc..0660050deccda4529d8281fcda96869a9c8db0c7 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('apinger', _('Apinger - Interfaces'),
                        _('Names must match the interface name found in /etc/config/network.'));
index ae4d501b54755b3e19e97ec4e43c58949a1a3b75..5a2cb191f7dc720cf1aed0d4445cd9615fb1043a 100644 (file)
@@ -11,7 +11,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
                var a_ifaces, a_down, a_delay, a_loss;
 
                a_ifaces = uci.sections('apinger', 'interface');
index 11aae877edb2f0eafd6510f0c1ce1eeb960ccf6f..e95b16b10106c1be72ef7f652bda3fffc0b87c07 100644 (file)
@@ -183,7 +183,7 @@ return view.extend({
        },
 
        render: function(aria2) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('aria2', '%s - %s'.format(_('Aria2'), _('Settings')), '<p>%s</p><p>%s</p>'.format(
                        _('Aria2 is a lightweight multi-protocol &amp; multi-source, cross platform download utility.'),
index 9e140476987c3c4d262952edb91ccf0addc86989..01f6244cab101fcb18afd5cef54639bc7ffaf080 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('bcp38', _('BCP38'),
                        _('This function blocks packets with private address destinations ' +
index cb38588b16d09fb369c8254577ad86c28fd5a766..3c7e859cad4549e7c4030c573eacd2b84a046952 100644 (file)
@@ -10,7 +10,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('clamav-milter', _('ClamAV Milter'), _('Configuration'));
 
index c51cbf4a2fd171196713e6bd138a8a8ec59a9eaa..8fbb5078384a2710c6668059b6c2cf3a0a761b3c 100644 (file)
@@ -11,7 +11,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('clamav', _('ClamAV'), _('Configuration'));
 
index 583b9ccf8209133f8f5c5113dbeda5a4a0719cec..6af2898a00cb42936d06df0c7490f63725841069 100644 (file)
@@ -10,7 +10,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('freshclam', _('Freshclam'), _('Configuration'));
 
index b945228b1e720379b0b4f706dde9d6f729e6f120..16e7d0160d536a544546f84a7b263c72aa7ef801 100644 (file)
@@ -34,7 +34,7 @@ return view.extend({
 
        render: function (data) {
                let isRunning = data[0];
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('cloudflared', _('Cloudflare Zero Trust Tunnel'),
                        _('Cloudflare Zero Trust Security services help you get maximum security both from outside and within the network.') + '<br />' +
index 6d369733c68ccf36ca27ecfe7a2496ca9defd8a4..0161653fb7f248cf272069a5b44e05858b911301 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('luci', _('Custom Commands'),
                        _('This page allows you to configure custom shell commands which can be easily invoked from the web interface.'));
index b8fe2ae02d7029d470fa2c425ea0d363e7f0b387..98d746e9940fa977ef45ecb81da15ebdc423fe37 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('crowdsec', _('CrowdSec'),
                        _('Gain <a href="http://www.crowdsec.net">crowd-sourced</a> protection against malicious IPs. ' +
index e56c7589c4cf4e26df5b6971a1710c971a4ca5b5..405468cc7585a91042568467140a325686ec108d 100644 (file)
@@ -255,7 +255,7 @@ return view.extend({
 
                var _this = this;
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ddns', _('Dynamic DNS'));
 
index 7d7ef7cd8c0dd861faff9759f01c94d1080e2c48..59b76fcc809f0c23e0d29b5a953c4d92bd5bbffd 100644 (file)
@@ -3,7 +3,7 @@
 
 return L.view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('dump1090', _('dump1090'), 
                        _('dump1090 is a Mode S decoder specifically designed for RTLSDR devices. Here you can configure the settings.'));
index 71e98e61add22eda4c4a780dbfe81bdb371ffed1..c7a68146e35983c915fb8ec06d39404eee3767d0 100644 (file)
@@ -5,7 +5,7 @@
 return view.extend({
        render: function () {
                var docsRefAttrs = 'target="_blank" rel="noreferrer" href="https://emailrelay.sourceforge.net/';
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('emailrelay', _('Email Server Configuration'),
                        _('E-MailRelay Server Configuration.') + '<br />' +
index 976df0808863eb0cbf6ed98fe534441bb2539748..73bcc44e95b1cebc2dace07e645997a769a7c33b 100644 (file)
@@ -5,7 +5,7 @@
 // Project code format is tabs, not spaces
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                /*
                The first argument to form.Map() maps to the configuration file available
index c1ab6060109ca0882f1c9f282543a9e23e4792c4..eb0c965e6980a3b7cbef3a1a260ec83bb507e802 100644 (file)
@@ -45,7 +45,7 @@ return view.extend({
                }
 
                // Variables you'll usually see declared in LuCI JS apps; forM, Section, Option
-               var m, s, o;
+               let m, s, o;
 
                /*
                LuCI has the concept of a JSONMap. This will map a structured object to
index 5196f6645d9da308b15019485c9311c6dd91a069..26ab5eee841e637a027db1ee16eccf40b1d1b85a 100644 (file)
@@ -45,7 +45,7 @@ return view.extend({
                }
 
                // Variables you'll usually see declared in LuCI JS apps; forM, Section, Option
-               var m, s, o;
+               let m, s, o;
 
                /*
                LuCI has the concept of a JSONMap. This will map a structured object to
index 33fe2614e8ccd2e8ae39208d32c5d7d1a7534591..9ad13cf240b3c0394cd0e53d884be0838398b9bc 100644 (file)
@@ -11,7 +11,7 @@ var formData = {
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.JSONMap(formData, _('File Browser'), '');
 
index f7813a85a432248e539caae59868758066f2b4ae..cf3b8818de97b4e834e54a5316841880ee1d564e 100644 (file)
@@ -15,7 +15,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('firewall', _('Firewall - IP sets'),
                        _('firewall4 supports referencing and creating IP sets to simplify matching of large address lists without the need to create one rule per item to match. Port ranges in ipsets are unsupported by firewall4.<br />'));
index c3207e517ff8a207d299d111e82c175c34ff119e..76928e9e41cbcd187ce88e4e519959ca67b91af8 100644 (file)
@@ -170,7 +170,7 @@ function renderStatus(isRunning) {
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('frpc', _('frp Client'));
 
index 6b408cb303907594ce06abf26dd79e51aa0eece2..1fce4d8f14a5f0dc16b1c4f46e275405d8cb9213 100644 (file)
@@ -123,7 +123,7 @@ function renderStatus(isRunning) {
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('frps', _('frp Server'));
 
index f95df1320f2f3ff4fa8142c9242f47348f9ca688..2f099ff89859926504dcd4b01e963e9937082560 100644 (file)
@@ -406,7 +406,7 @@ var ParseButton = form.Button.extend({
                var config = {};
                config.access = stanzas;
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.JSONMap(config, null, _('Custom configuration read from /etc/fwknop/access.conf.'));
                m.readonly = true;
@@ -469,7 +469,7 @@ return view.extend({
 
        render: function(results) {
                var has_access_conf = results[0];
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('fwknopd', _('Firewall Knock Operator Daemon'));
 
index e07413bad422b274529e74abc47c6568fe9fbebe..247841e78275097a198f04c653ae3b55a7f2102b 100644 (file)
@@ -33,7 +33,7 @@ return view.extend({
        },
 
        render: function(devs) {
-               var m, s, o;
+               let m, s, o;
                m = new form.Map('hd-idle', _('HDD Idle'), _('HDD Idle is a utility program for spinning-down disks after a period of idle time.'));
 
                s = m.section(form.GridSection, 'hd-idle', _('Settings'));
index 67781b59af021d7b8acea7d4042c643f681b5d19..60b895487d16c74b5b5260e0ce48c0e0083f64db 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('keepalived');
 
index 059fc1dd6cd4f7a97b7e151bec7585573b1dbd2d..33bd16139469960d3fa261fc3c9f045015ec4fb5 100644 (file)
@@ -18,7 +18,7 @@ return view.extend({
 
        render: function(data) {
                var hosts = data[0];
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('keepalived');
 
index b407d0eef8b8c2cc905268cf45c2a70e9ff060d7..5330fb1451c58f0a1fcb92345b7b3783ed9d229a 100644 (file)
@@ -6,7 +6,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('keepalived');
 
index 5e311fd2554318ed111b35bf5af6db8db860d2e9..16cb4463677e0e559f29aa60eda40de107b01d7b 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('keepalived');
 
index f9f92f57f5e97e9649edc648680d7a7b6c93f79b..789f619525c496da1abbdc1f23d6f2260447b0aa 100644 (file)
@@ -283,7 +283,7 @@ return view.extend({
 
        render: function(data) {
                var netDevs = data[0];
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('keepalived');
 
index 69ed8f243540914577fe4c4283374730713a64dc..0636ad54023409810f61e63bdc5a38aa1f992821 100644 (file)
@@ -12,7 +12,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
                var instances;
 
                instances = uci.sections('keepalived', 'vrrp_instance');
index 3050e536cc88907d9305d4ca51986f7affb90135..e48bedb2d7fed94e3af071532bbc1f493c931c0d 100644 (file)
@@ -13,7 +13,7 @@ return view.extend({
 
        render: function(data) {
                var netDevs = data[0];
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('libreswan', _('IPSec Global Settings'));
 
index e1b14a8e324eb14c87bfea9d3c5e2d8582af5ca2..004a41a0f56de777ec41cbec799fabde6e199f38 100644 (file)
@@ -6,7 +6,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('libreswan', _('IPSec Proposals'));
 
index a2d5fd849386e6fb2c075c5294dbce4ece3553da..ff0f6ab6df056eade675b04b2c5c7062b8373161 100644 (file)
@@ -31,7 +31,7 @@ return view.extend({
 
        render: function(data) {
                var netDevs = data[0];
-               var m, s, o;
+               let m, s, o;
                var proposals;
 
                proposals = uci.sections('libreswan', 'crypto_proposal');
index a4eb0d210b46d779ae5051fafcbdb0381fc396d6..5b7be6f7be6abc78814849695714d05051fe6d75 100644 (file)
@@ -14,7 +14,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
 
                /* General Settings */
                m = new form.Map('basicstation', _('General Settings'));
index dd80a840b29d51e15ba8b8d48631eeeb6ef1f5d9..35fd0da20b8c35e977982aaf80971f4b6747edbf 100644 (file)
@@ -31,7 +31,7 @@ var CBIMiniDLNAStatus = form.DummyValue.extend({
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('minidlna', _('miniDLNA'), _('MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients.'));
 
index 6fb6f3c27bcb1d4893746f7a8aab058717d52a6c..f4533f7c49806d96c882dc765a7cedebeb7b314d 100644 (file)
@@ -26,7 +26,7 @@ return view.extend({
                return Promise.all([uci.load('mjpg-streamer')]);
        },
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mjpg-streamer', 'MJPG-streamer', _('mjpg streamer is a streaming application for Linux-UVC compatible webcams'));
 
index b8c12c0e9b2c7b1a839b16b7cb434ba6d4c42cb6..299998086f147bd2c16f2fa99683d344a6420829 100644 (file)
@@ -5,7 +5,7 @@
 return view.extend({
 
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mwan3', _('MultiWAN Manager - Globals'));
 
index c9ec5209c799cfa05d072529afc580b62771706f..c515a1dd6410c3caf6583364c6e98d39580b362a 100644 (file)
@@ -16,7 +16,7 @@ return view.extend({
        },
 
        render: function (stats) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mwan3', _('MultiWAN Manager - Interfaces'),
                        _('Mwan3 requires that all interfaces have a unique metric configured in /etc/config/network.') + '<br />' +
index 17946da2c875a62c3427f4ab61a07ad0b11044ee..814d1401a4e79be052f486848293adeb0eaf0c60 100644 (file)
@@ -12,7 +12,7 @@ return view.extend({
        },
 
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mwan3', _('MultiWAN Manager - Members'),
                        _('Members are profiles attaching a metric and weight to an MWAN interface.') + '<br />' +
index 3963185f6af40d41848b3e35b5a1858f61e936d8..73ab7b746964d8a0881bd41a49e153ffa5b7a05c 100644 (file)
@@ -12,7 +12,7 @@ return view.extend({
        },
 
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mwan3', _('MultiWAN Manager - Policies'),
                        _('Policies are profiles grouping one or more members controlling how Mwan3 distributes traffic.') + '<br />' +
index 2e90e5dd269298aa95b58dbd805930c81390dbb1..a6523ec2e9c0cf568e01389d988d1a952ee79348 100644 (file)
@@ -14,7 +14,7 @@ return view.extend({
        },
 
        render: function (data) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('mwan3', _('MultiWAN Manager - Rules'),
                        _('Rules specify which traffic will use a particular MWAN policy.') + '<br />' +
index 49349437adf7a8782ba5122ea40d4a7fdd05257f..a602ec063554eecb7a4f1b23124cb2473fad9c5a 100644 (file)
@@ -45,7 +45,7 @@ return view.extend({
                return getStatus();
        },
        render: function(status) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('natmap', _('NATMap'));
                s = m.section(form.GridSection, 'natmap');
index 8ec51886098f473867cd9e598a66ede95d4e69bc..a1d6c5677d6c31518b6c5ef994d11ec7c266fb11 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
                
                m = new form.Map('nextdns', _('NextDNS'),
                        _('NextDNS Configuration.')
index bdebf296eabebdd9e4b0ea8084070e2426915562..033c495a31bf0711c3df06894d0f5612d2bfcb66 100644 (file)
@@ -47,7 +47,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('nlbwmon', _('Netlink Bandwidth Monitor - Configuration'),
                        _('The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic accounting program keeping track of bandwidth usage per host and protocol.'));
index f7067990a12d6596bf66991f7dfca62b9abf2095..1a16e3829d4db902eca5115c177e5ace9b691ecf 100644 (file)
@@ -8,7 +8,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('nut_cgi', _('NUT CGI'),
                        _('Network UPS Tools CGI Configuration') + '<br />' +
index 16b951a6d6929757b6f38ad3cd756ee2384a6873..b05112648436f941d75b427a78ac91e8210a3ee7 100644 (file)
@@ -31,7 +31,7 @@ return view.extend({
        },
 
        render: function(loaded_promises) {
-               var m, s, o;
+               let m, s, o;
                const have_ssl_support = loaded_promises[0];
 
                m = new form.Map('nut_monitor', _('NUT Monitor'),
index 9de4d52b4266391c9037cf3c07eb84b79b2a73c6..8f47277046297e4ea4447b8b5f97cb9dd00537dd 100644 (file)
@@ -27,7 +27,7 @@ return view.extend({
        },
 
        render: function(loaded_promises) {
-               var m, s, o;
+               let m, s, o;
                const have_ssl_support = loaded_promises[0];
                const driver_list = loaded_promises[1];
 
index 2c0a87837fc5a51ef0873e2b98073046d7f01fdc..7a4e8606613a1542b9264066d5834508f637252b 100644 (file)
@@ -26,7 +26,7 @@ return view.extend({
                })]);
        },
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                var has_ipip;
 
index 5275be62d0e6830719cc61bbe64f9e0b418a47f6..4eac0ca4f8daf9b9fcec9ff7b07d36ffe04cc04d 100644 (file)
@@ -26,7 +26,7 @@ return view.extend({
                })]);
        },
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                var has_ipip;
 
index cd29fdc881549aeee38151c8e6a9d5bdadba538c..5caa7f5933bc4cca18572d615d10593057310d6d 100644 (file)
@@ -9,7 +9,7 @@ return view.extend({
                return Promise.all([uci.load('luci_olsr')]);
        },
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('luci_olsr', _('OLSR - Display Options'));
 
index a74bb4cd607c9f03ff5f65530372a3f29590418e..2f78fbb971d4ea4288203ff8f1fbb6112e9344b1 100644 (file)
@@ -8,7 +8,7 @@
 
 return view.extend({
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('omcproxy', _('omcproxy'), _('Embedded IGMPv3 and MLDv2 proxy'));
 
index 60766d321c6ce50139041345152cbcc6d594c6ae..a8856bd3325f47c67b54b76cd63804602fa01929 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('openwisp',
                        _('OpenWISP'),
index 9289bf3260c12555657807d8a02efc4634b09f82..9656ea46feafa56d817714ea704a0e97acff6b53 100644 (file)
@@ -12,7 +12,7 @@ var desc = _(""
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('pagekitec', _('PageKite'), desc);
 
index 4f679c0564003a80b8fdbb4ebf6ff786c62c78b6..db22cbbfe52d2bd8be457078afcbf15d8cd30543 100644 (file)
@@ -20,7 +20,7 @@ return view.extend({
        },
 
        render: function (loaded_promises) {
-               var m, s, o;
+               let m, s, o;
                const networks = loaded_promises[0];
                const hosts = loaded_promises[1];
 
index 981a6822d9bf4b0c4cf2f276a20145714107fa9f..9e22e49a7bff2d0dad91081a93992402b5bcdc21 100644 (file)
@@ -12,7 +12,7 @@ return view.extend({
        },
 
        render: function (loaded_promises) {
-               var m, s, o;
+               let m, s, o;
                const networks = loaded_promises[0];
 
                m = new form.Map('pppoe', _('Roaring Penguin PPPoE Relay'),
index 5f246b5eac1fbfeada3b44d193ec79bdd1da879e..4cdcbbe9931fd0c04008c674600c11dca5d79bf9 100644 (file)
@@ -12,7 +12,7 @@ return view.extend({
        },
 
        render: function (loaded_promises) {
-               var m, s, o;
+               let m, s, o;
                const networks = loaded_promises[0];
 
                m = new form.Map('pppoe', _('Roaring Penguin PPPoE Server'),
index d1342cd7bb2acf016dce3e01caf065139d094977..0e7466d41a8abb94aa2b1bb8b220343b9c245ded 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ser2net', 'ser2net');
 
index 9e1c3c8f7621ee4cf1855bebed10d9a84926ecae..5c4e31b41eb6642ff9779e6e2edb6f12a493472d 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ser2net', 'ser2net');
 
index a93cc55e47912b47c65444ec7abce67c2d1b9a3d..e21e240e7499ba086d417422b1d89c75732b3104 100644 (file)
@@ -4,7 +4,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ser2net', 'ser2net');
 
index 37f63fcc6a29a90c12f304b8b20551fdaed67eab..05d6bfe9636cf89a5b023f9d785fd6296729cee1 100644 (file)
@@ -88,7 +88,7 @@ return view.extend({
                ]);
        },
        render: function (stats) {
-               var m, s, o;
+               let m, s, o;
                var ss, so;
                var servers, download_files;
 
index b9e5e2853094f4dc926221b9bd27617b4903bc93..6eabdae7d31a39b12bae07a5483c11cf6f53b055 100644 (file)
@@ -15,7 +15,7 @@ var desc = _(""
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map("snmpd", _("net-snmp's SNMPD"), desc);
 
index 8b4a0aed04b6cb72d2cc66b92c047b00ea536f64..a153ffe2dbcd5093acf2d72bd13770572a0ffa34 100644 (file)
@@ -59,7 +59,7 @@ return view.extend({
                        ]));
                }
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('sqm', _('Smart Queue Management'));
                m.description = _("With <abbr title=\"Smart Queue Management\">SQM</abbr> you " +
index 8688cc4134ad0755fa61e78ff89d8536feec3a28..ef697a668e1fecba682bcbe6d5dde51878da8241 100644 (file)
@@ -38,7 +38,7 @@ return view.extend({
                var { config_file, mime_table } = data[0];
                var options = data[1];
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('squid', _('Squid'));
 
index 464451cb5d475e4c808cfa9f27ffd5949b76a1ef..0313e8024a2de1f129b08584a73cffd4e15becb4 100644 (file)
@@ -19,7 +19,7 @@ return view.extend({
        render: function (data) {
                var knownHosts = data[0];
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('sshtunnel', _('SSH Tunnels'),
                        _('This configures <a %s>SSH Tunnels</a>.')
index 02f478ba81e724d7691670bd4143d236f8b8518a..54576b8bffa338ae62abbe691a66e21ea628b2e2 100644 (file)
@@ -34,7 +34,7 @@ return view.extend({
                hasSshKeygen = data[0].type === 'file';
                var sshKeys = _splitSshKeys(data.splice(1));
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('sshtunnel', _('SSH Tunnels'),
                        _('This configures <a %s>SSH Tunnels</a>.')
index 7a45ddc32b99a64d363e1512004c97842f58e190..a21868f1ee9d6261daa14c9f1ba1af658dabc80e 100644 (file)
@@ -19,7 +19,7 @@ return view.extend({
                        ui.addNotification(null, E('p', _('No SSH keys found, <a %s>generate a new one</a>').format('href="./ssh_keys"')), 'warning');
                }
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('sshtunnel', _('SSH Tunnels'),
                        _('This configures <a %s>SSH Tunnels</a>.')
index a594b29a95adf0279b8c3fd45f456c04f0950491..9f1ad830949b5189d1eb0ad3b363dcf323def28c 100644 (file)
@@ -13,7 +13,7 @@ return view.extend({
        },
 
        render: function (data) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('sshtunnel', _('SSH Tunnels'),
                        _('This configures <a %s>SSH Tunnels</a>.')
index c18814aac3cd96803b6acd7a896a245d02999e71..e618280a72cbb65dd075c2d079a3f0315b89e577 100644 (file)
@@ -29,7 +29,7 @@ return view.extend({
        },
 
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ipsec', _('strongSwan Configuration'),
                        _('Configure strongSwan for secure VPN connections.'));
index 8007fe518caea86d25007c225c18fd6e80c56fb5..b8e9efb05bdaa48990faf02d1391b1c2b99cf286 100644 (file)
@@ -27,7 +27,7 @@ return view.extend({
                        hsMap.set(hs.name, hs.hostname);
                });
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('tor-hs', _('Tor Onion Services'),
                        _('Tor Onion (Hidden) Services are proxy tunnels to your local website, SSH and other services.') + '<br />' +
index dde7ca75d331766d9019862d811d0735b4d3041a..61407d7587bb74cd53440a916e1c41cb5cc77d64 100644 (file)
@@ -6,7 +6,7 @@
 
 return view.extend({
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('tor', _('Tor onion router'),
                        _('For further information <a %s>check the documentation</a>')
index 87583b912286edfbfbe5592751f594709e78dd3d..8381f8692437dea19548c5cb3f00208cff5fae27 100644 (file)
@@ -37,7 +37,7 @@ return view.extend({
                if (running && webinstalled)
                        button = '&#160;<a class="btn" href="http://' + window.location.hostname + ':' + port + '" target="_blank" rel="noreferrer noopener">' + _('Open Web Interface') + '</a>';
 
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('transmission', 'Transmission', _('Transmission daemon is a simple bittorrent client, here you can configure the settings.') + button);
 
index 5d8920bcb90db4281af18b464f73bbaffe586d9b..6d1298b9e75f62a9a97f18493b75e8002852a19d 100644 (file)
@@ -143,7 +143,7 @@ return view.extend({
        },
 
        render: function (result) {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('travelmate', 'Travelmate', _('Configuration of the travelmate package to enable travel router functionality. \
                        For further information <a href="https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>. <br /> \
index 240b5140ebe7a728f301c623db19f9cba2455a74..84d7d3fa8517a8f1b5ad445589b77207e82d2898 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('ttyd');
 
index 640d77155da2c2daf823300945a2bec2be1ccb7d..d6a4cf03f5cc08b503ca304a4dcbdfff73dd6f09 100644 (file)
@@ -151,7 +151,7 @@ var CBIBindSelect = form.ListValue.extend({
 
 return view.extend({
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('udpxy', _('udpxy'),
                        _('udpxy is an IPTV stream relay, a UDP-to-HTTP multicast traffic relay daemon which forwards multicast UDP streams to HTTP clients.'));
index 5731f78242a63c0df0e5cabd7d6b0ccc8e47bca4..ea4a412d2896db2058c352d6f562c67a5e3e80db 100644 (file)
@@ -70,7 +70,7 @@ return view.extend({
 
        render: function(data) {
 
-               var m, s, o;
+               let m, s, o;
 
                var protocols = '%s & %s/%s'.format(
                        '<a href="https://en.wikipedia.org/wiki/Internet_Gateway_Device_Protocol" target="_blank" rel="noreferrer"><abbr title="UPnP Internet Gateway Device (Control Protocol)">UPnP IGD</abbr></a>',
index bc5ebce8ab953dad36b4ae7d5d473cb4022b66ea..100463408e687a4929314a9faf9e40f562f55be3 100644 (file)
@@ -364,7 +364,7 @@ return view.extend({
        },
 
        render: function (data) {
-               var m, s, o;
+               let m, s, o;
 
                if (!('usteer' in data[0])) {
                        m = new form.Map('usteer', _('Usteer'),
index 27dece54140275c881a1bd747888f7dd42180751..ab7c13c8daebd81ce7001125c1ec918036c655fe 100644 (file)
@@ -44,7 +44,7 @@ return view.extend({
        },
 
        render: function(data) {
-               var m, s, o;
+               let m, s, o;
                var webport = (uci.get(data[0], 'config', 'address') || '0.0.0.0:2017').split(':').slice(-1)[0];
 
                m = new form.Map('v2raya', _('v2rayA'),
index dd5bf715e43c0b5d11efedf58099301c75b9d795..8efe17bff3247b40b91faa59215acb9795ff3ed5 100644 (file)
@@ -38,7 +38,7 @@ return view.extend({
        },
 
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('vnstat', _('vnStat'), _('vnStat is a network traffic monitor for Linux that keeps a log of network traffic for the selected interface(s).'));
 
index 6f4642136d559d4beba952b373b9b41f0eff4cdd..b357db2a4c7506865978b162d96c0492383c04d7 100644 (file)
@@ -5,7 +5,7 @@
 
 return view.extend({
        render: function () {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('watchcat', 
                        _('Watchcat'), 
index a523dc2548ca339dd9c53fbd4156f9ddf91799dd..da78430a5255f672475ce1bc9df4bd1ba5735001 100644 (file)
@@ -37,7 +37,7 @@ function renderStatus(isRunning) {
 
 return view.extend({
        render: function() {
-               var m, s, o;
+               let m, s, o;
 
                m = new form.Map('xfrpc', _('xfrpc'));
                m.description = _("xfrpc is a c language frp client for frps.");
index d1476ae1e50d3998bf8de860a92330f15d9d5368..cf5e5d0a725bbf8241bc725a17948fae2a487b32 100644 (file)
@@ -24,7 +24,7 @@ return view.extend({
        },
 
        render: function(promises) {
-               var m, s, o;
+               let m, s, o;
                var networks = promises[0];
 
                m = new form.Map('xinetd', _('Xinetd Settings'), _('Here you can configure Xinetd services'));