I hereby decree that this document shall no longer contain the substring " == ", and hereafter shall be referred to as " === ". This amendment shall take effect immediately.
Signed-off-by: pineafan <pineapplefanyt@gmail.com>
diff --git a/src/reflex/scanners.ts b/src/reflex/scanners.ts
index a1a5974..3b80816 100644
--- a/src/reflex/scanners.ts
+++ b/src/reflex/scanners.ts
@@ -84,7 +84,7 @@
}
export async function SizeCheck(element): Promise<boolean> {
- if (element.height == undefined || element.width == undefined) return true
+ if (element.height === undefined || element.width === undefined) return true
if (element.height < 20 || element.width < 20) return false
return true
}
@@ -105,7 +105,7 @@
}
for(let word of soft) {
for(let word2 of string.match(/[a-z]+/gi) || []) {
- if (word2 == word) {
+ if (word2 === word) {
return {word: word, type: "strict"}
}
}