mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
remove some logging
This commit is contained in:
@ -1863,7 +1863,6 @@ export function setSlashCommandAutoComplete(textarea, isFloating = false) {
|
|||||||
consecutive.push(current);
|
consecutive.push(current);
|
||||||
}
|
}
|
||||||
consecutive.sort((a,b)=>b.length - a.length);
|
consecutive.sort((a,b)=>b.length - a.length);
|
||||||
console.log({ name, parts, start, consecutive, longestConsecutive:consecutive[0]?.length ?? 0 });
|
|
||||||
return { name, start, longestConsecutive:consecutive[0]?.length ?? 0 };
|
return { name, start, longestConsecutive:consecutive[0]?.length ?? 0 };
|
||||||
};
|
};
|
||||||
const fuzzyScoreCompare = (a, b) => {
|
const fuzzyScoreCompare = (a, b) => {
|
||||||
|
@ -202,7 +202,6 @@ export class SlashCommandParser {
|
|||||||
this.scope = null;
|
this.scope = null;
|
||||||
this.commandIndex = [];
|
this.commandIndex = [];
|
||||||
const closure = this.parseClosure();
|
const closure = this.parseClosure();
|
||||||
console.log('[STS]', closure);
|
|
||||||
closure.keptText = this.keptText;
|
closure.keptText = this.keptText;
|
||||||
return closure;
|
return closure;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user