remove unused delay function

This commit is contained in:
ransurf 2023-12-12 17:56:05 -08:00
parent 07a8032c5a
commit 6531be9aa8
1 changed files with 0 additions and 4 deletions

View File

@ -8,10 +8,6 @@ import {
Vault,
} from 'obsidian';
export function delay(ms: number): Promise<void> {
return new Promise((resolve) => setTimeout(resolve, ms));
}
export function escape_RegExp(str: string): string {
return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
}