treewide: minor fixes to typos, whitespace, and indentation

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
This commit is contained in:
Giovanni Giacobbi 2021-01-20 09:36:08 +01:00 committed by Hannu Nyman
parent 03d11de79f
commit d3280e6f5d
7 changed files with 12 additions and 12 deletions

View file

@ -2,7 +2,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
LUCI_TITLE:=LuCI account managment module LUCI_TITLE:=LuCI account management module
LUCI_DEPENDS:=+luci-base LUCI_DEPENDS:=+luci-base
include ../../luci.mk include ../../luci.mk

View file

@ -2,4 +2,4 @@
require "luci.cacheloader" require "luci.cacheloader"
require "luci.sgi.cgi" require "luci.sgi.cgi"
luci.dispatcher.indexcache = "/tmp/luci-indexcache" luci.dispatcher.indexcache = "/tmp/luci-indexcache"
luci.sgi.cgi.run() luci.sgi.cgi.run()

View file

@ -672,12 +672,12 @@
* if it is an object, it will be converted to JSON, in all other * if it is an object, it will be converted to JSON, in all other
* cases it is converted to a string. * cases it is converted to a string.
* *
* @property {Object<string, string>} [header] * @property {Object<string, string>} [header]
* Specifies HTTP headers to set for the request. * Specifies HTTP headers to set for the request.
* *
* @property {function} [progress] * @property {function} [progress]
* An optional request callback function which receives ProgressEvent * An optional request callback function which receives ProgressEvent
* instances as sole argument during the HTTP request transfer. * instances as sole argument during the HTTP request transfer.
*/ */
/** /**

View file

@ -9,4 +9,4 @@ module "luci.cacheloader"
if config.ccache and config.ccache.enable == "1" then if config.ccache and config.ccache.enable == "1" then
ccache.cache_ondemand() ccache.cache_ondemand()
end end

View file

@ -3,4 +3,4 @@
-- Licensed to the public under the Apache License 2.0. -- Licensed to the public under the Apache License 2.0.
local util = require "luci.util" local util = require "luci.util"
module("luci.store", util.threadlocal) module("luci.store", util.threadlocal)

View file

@ -32,4 +32,4 @@ function f.handle(self, state, data)
return true return true
end end
return f return f

View file

@ -147,7 +147,7 @@ return baseclass.extend({
for (var j = 0; j < network_items.length; j++) { for (var j = 0; j < network_items.length; j++) {
var net = network_items[j], var net = network_items[j],
is_assoc = (net.getBSSID() != '00:00:00:00:00:00' && net.getChannel() && !net.isDisabled()), is_assoc = (net.getBSSID() != '00:00:00:00:00:00' && net.getChannel() && !net.isDisabled()),
chan = net.getChannel(), chan = net.getChannel(),
freq = net.getFrequency(), freq = net.getFrequency(),
rate = net.getBitRate(); rate = net.getBitRate();