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
@@ -32,10 +32,10 @@ class ApplicationInfo
|
||||
function GetAppInfo() as object
|
||||
if m.appInfo = invalid
|
||||
m.appInfo = {
|
||||
id: m.roAppInfo.GetID(),
|
||||
app_version: m.roAppInfo.GetVersion(),
|
||||
app_git_commit_hash: m.roAppInfo.GetValue("git_commit_sha"),
|
||||
lib_version: m.GetLibVersion(),
|
||||
id: m.roAppInfo.GetID()
|
||||
app_version: m.roAppInfo.GetVersion()
|
||||
app_git_commit_hash: m.roAppInfo.GetValue("git_commit_sha")
|
||||
lib_version: m.GetLibVersion()
|
||||
lib_git_commit_hash: m.GetLibGitCommitHash()
|
||||
}
|
||||
|
||||
@@ -64,20 +64,20 @@ class ApplicationInfo
|
||||
function GetDeviceInfo() as object
|
||||
if m.deviceInfo = invalid
|
||||
m.deviceInfo = {
|
||||
model: m.roDeviceInfo.GetModel(),
|
||||
model_display_name: m.roDeviceInfo.GetModelDisplayName(),
|
||||
model_type: m.roDeviceInfo.GetModelType(),
|
||||
model_details: m.roDeviceInfo.GetModelDetails(),
|
||||
os_version: m.roDeviceInfo.GetOSVersion(),
|
||||
display_type: m.roDeviceInfo.GetDisplayType(),
|
||||
display_mode: m.roDeviceInfo.GetDisplayMode(),
|
||||
display_aspect_ratio: m.roDeviceInfo.GetDisplayAspectRatio(),
|
||||
display_size: m.roDeviceInfo.GetDisplaySize(),
|
||||
video_mode: m.roDeviceInfo.GetVideoMode(),
|
||||
ui_resolution: m.roDeviceInfo.GetUIResolution(),
|
||||
graphics_platform: m.roDeviceInfo.GetGraphicsPlatform(),
|
||||
internet_status: m.roDeviceInfo.GetInternetStatus(),
|
||||
user_country_code: m.roDeviceInfo.GetUserCountryCode(),
|
||||
model: m.roDeviceInfo.GetModel()
|
||||
model_display_name: m.roDeviceInfo.GetModelDisplayName()
|
||||
model_type: m.roDeviceInfo.GetModelType()
|
||||
model_details: m.roDeviceInfo.GetModelDetails()
|
||||
os_version: m.roDeviceInfo.GetOSVersion()
|
||||
display_type: m.roDeviceInfo.GetDisplayType()
|
||||
display_mode: m.roDeviceInfo.GetDisplayMode()
|
||||
display_aspect_ratio: m.roDeviceInfo.GetDisplayAspectRatio()
|
||||
display_size: m.roDeviceInfo.GetDisplaySize()
|
||||
video_mode: m.roDeviceInfo.GetVideoMode()
|
||||
ui_resolution: m.roDeviceInfo.GetUIResolution()
|
||||
graphics_platform: m.roDeviceInfo.GetGraphicsPlatform()
|
||||
internet_status: m.roDeviceInfo.GetInternetStatus()
|
||||
user_country_code: m.roDeviceInfo.GetUserCountryCode()
|
||||
friendly_name: m.roDeviceInfo.GetFriendlyName()
|
||||
}
|
||||
end if
|
||||
|
||||
@@ -90,7 +90,7 @@ namespace HttpClient
|
||||
end if
|
||||
|
||||
m._queryParams[key] = {
|
||||
value: valueArray,
|
||||
value: valueArray
|
||||
arrayType: arrayType
|
||||
}
|
||||
|
||||
@@ -624,8 +624,8 @@ namespace HttpClientCache
|
||||
end if
|
||||
|
||||
return {
|
||||
statusCode: metadata.statusCode,
|
||||
headers: headers,
|
||||
statusCode: metadata.statusCode
|
||||
headers: headers
|
||||
body: body
|
||||
}
|
||||
end function
|
||||
@@ -672,9 +672,9 @@ namespace HttpClientCache
|
||||
body = ValidString(response.Text())
|
||||
|
||||
cacheMetadata = {
|
||||
timestamp: timestamp,
|
||||
statusCode: response.StatusCode(),
|
||||
headers: jsonHeaders.Len(),
|
||||
timestamp: timestamp
|
||||
statusCode: response.StatusCode()
|
||||
headers: jsonHeaders.Len()
|
||||
body: body.Len()
|
||||
}
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ class XmlObject
|
||||
|
||||
function Node(name as string, attributes = invalid as object) as boolean
|
||||
newNode = {
|
||||
name: name,
|
||||
attributes: attributes,
|
||||
name: name
|
||||
attributes: attributes
|
||||
children: []
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user