mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 15:49:56 +01:00
fix(script/jsx): module not defined
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user