mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-15 16:41:07 +08:00
♻️
This commit is contained in:
parent
47d06a6309
commit
ccfa915e80
@ -44,7 +44,6 @@ const loadPluginJS = async (app: App, item: IPluginData) => {
|
||||
const exportsObj: { [key: string]: any } = {};
|
||||
const moduleObj = {exports: exportsObj};
|
||||
try {
|
||||
debugger
|
||||
runCode(item.js, "plugin:" + encodeURIComponent(item.name))(requireFunc, moduleObj, exportsObj);
|
||||
} catch (e) {
|
||||
console.error(`plugin ${item.name} run error:`, e);
|
||||
|
Loading…
Reference in New Issue
Block a user