Merge remote-tracking branch 'origin/develop' into feature/investigate_tests

This commit is contained in:
Elian Doran 2024-07-16 18:33:55 +03:00
commit e89faf6786
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
const utils = require("./utils.js");
import utils from "./utils.js";
function lex(str) {
str = str.trim();
@ -222,7 +222,7 @@ function lexAndParse(str, allowEmptyRelations = false) {
return parse(tokens, str, allowEmptyRelations);
}
module.exports = {
export default {
lex,
parse,
lexAndParse

View File

@ -505,7 +505,7 @@ function createImageSrcUrl(note) {
return `api/images/${note.noteId}/${encodeURIComponent(note.title)}?timestamp=${Date.now()}`;
}
module.exports = {
export default {
reloadFrontendApp,
parseDate,
formatDateISO,