This commit is contained in:
Justin Garza
2025-01-19 18:34:47 -05:00
parent 7fb129d046
commit 2e49494c0d
22 changed files with 90 additions and 47 deletions
+5 -4
View File
@@ -175,9 +175,9 @@ export function parseColor(string) {
}
//used for searching
// Simple fuzzy match function
//NOTE: i'll improve the fuzzy function before rolling this out
// used for searching
// Simple fuzzy match function
// NOTE: i'll improve the fuzzy function before rolling this out
/*
function fuzzyMatch(text, query) {
let queryIndex = 0;
@@ -186,6 +186,7 @@ function fuzzyMatch(text, query) {
queryIndex++;
}
}
return queryIndex === query.length; // Returns true if all chars in query matched in order
return queryIndex === query.length; // Returns true if all chars in query matched in
order
}
*/