Refresh lint rules (#238)
* Lint * Color rules * Update sponsorblock config file * Small tweak * Color adjustments
This commit is contained in:
1 parent
cbda8dbf9b
commit
e53ad785c6
89 files changed
+445
-468
No files matched your search
+8
-8
@@ -15,7 +15,7 @@ function InvidiousPublicInstancesTask(input as object) as object
|
||||
|
||||
if not response.IsSuccess() or instances = invalid
|
||||
return {
|
||||
success: false,
|
||||
success: false
|
||||
error: response.ErrorMessage()
|
||||
}
|
||||
end if
|
||||
@@ -31,14 +31,14 @@ function InvidiousPublicInstancesTask(input as object) as object
|
||||
for each instance in instances
|
||||
item = CreateObject("roSGNode", "InvidiousPublicInstancesListItemContent")
|
||||
item.setFields({
|
||||
name: instance[0],
|
||||
version: instance[1].stats.software.version,
|
||||
users: instance[1].stats.usage.users.total,
|
||||
signup: instance[1].stats.openRegistrations ? "Yes" : "No",
|
||||
name: instance[0]
|
||||
version: instance[1].stats.software.version
|
||||
users: instance[1].stats.usage.users.total
|
||||
signup: instance[1].stats.openRegistrations ? "Yes" : "No"
|
||||
' Leave 5 spaces for the flag, just to simplify the layout
|
||||
location: ` ${instance[1].region}`,
|
||||
flag: GetFlagUrl(instance[1].flag),
|
||||
health: instance[1].monitor["30dRatio"].ratio,
|
||||
location: ` ${instance[1].region}`
|
||||
flag: GetFlagUrl(instance[1].flag)
|
||||
health: instance[1].monitor["30dRatio"].ratio
|
||||
uri: instance[1].uri
|
||||
})
|
||||
content.AppendChild(item)
|
||||
|
||||
Reference in new issue
Block a user