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

@ -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

@ -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();