mirror of
https://github.com/zadam/trilium.git
synced 2025-12-22 07:14:24 +01:00
fix(script/jsx): module not defined
This commit is contained in:
parent
d036bf0870
commit
eee7c49f6e
@ -736,7 +736,7 @@ function FrontendScriptApi(this: Api, startNote: FNote, currentNote: FNote, orig
|
|||||||
this.logSpacedUpdates[noteId].scheduleUpdate();
|
this.logSpacedUpdates[noteId].scheduleUpdate();
|
||||||
};
|
};
|
||||||
this.defineWidget = (definition) => {
|
this.defineWidget = (definition) => {
|
||||||
module.exports = definition;
|
return definition;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user