mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
findwidget in read only notes WIP
This commit is contained in:
@@ -365,6 +365,10 @@ function sleep(time_ms) {
|
||||
});
|
||||
}
|
||||
|
||||
function escapeRegExp(str) {
|
||||
return str.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1");
|
||||
}
|
||||
|
||||
export default {
|
||||
reloadFrontendApp,
|
||||
parseDate,
|
||||
@@ -410,4 +414,5 @@ export default {
|
||||
filterAttributeName,
|
||||
isValidAttributeName,
|
||||
sleep,
|
||||
escapeRegExp
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user