1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

All: Include injected Mermaid JS only when necessary

This commit is contained in:
Laurent Cozic
2019-03-02 23:22:41 +00:00
parent 833d473268
commit 945d83608a
3 changed files with 12 additions and 2 deletions

View File

@@ -149,5 +149,6 @@ shim.imageFromDataUrl = async function(imageDataUrl, filePath, options = null) {
shim.Buffer = null;
shim.openUrl = () => { throw new Error('Not implemented'); }
shim.waitForFrame = () => { throw new Error('Not implemented'); }
shim.injectedJs = name => '';
module.exports = { shim };