mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
♻️
This commit is contained in:
parent
47d06a6309
commit
ccfa915e80
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue