Remove hash function

e56faaaed581626866c76b2bb154f76234ef797b

Joe <joenunezb@gmail.com>

1 files changed, +0 -15Ignore whitespace
public/scripts/power-user.js+0 -15
@@ -1841,21 +1841,6 @@ async function loadContextSettings() {
1841}1841}
18421842
1843/**1843/**
1844 * Generates a hash of the Fuse configuration keys
1845 * @param {Array<{name: string, weight: number, getFn?: Function}>} keys
1846 * @returns {number} Hash of the keys configuration
1847 */
1848function hashFuseKeys(keys) {
1849 // Convert keys to a stable string representation
1850 const keyString = keys.map(k => {
1851 const getFnString = k.getFn ? k.getFn.toString() : '';
1852 return `${k.name}:${k.weight}:${getFnString}`;
1853 }).join('|');
1854
1855 return getStringHash(keyString);
1856}
1857
1858/**
1859 * Common function to perform fuzzy search with caching1844 * Common function to perform fuzzy search with caching
1860 * @param {string} type - Type of search from fuzzySearchCategories1845 * @param {string} type - Type of search from fuzzySearchCategories
1861 * @param {any[]} data - Data array to search in1846 * @param {any[]} data - Data array to search in