1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-24 23:26:50 +02:00

Plugins: Add support for the JPL plugin format

This commit is contained in:
Laurent Cozic
2020-11-18 10:17:27 +00:00
parent 73571f1c48
commit 8e2daef144
134 changed files with 1101 additions and 323 deletions

View File

@ -95,7 +95,7 @@ export default class PluginService extends BaseService {
};
}
public async loadPluginFromJsBundle(baseDir: string, jsBundleString: string, pluginIdIfNotSpecified: string): Promise<Plugin> {
public async loadPluginFromJsBundle(baseDir: string, jsBundleString: string, pluginIdIfNotSpecified: string = ''): Promise<Plugin> {
baseDir = rtrimSlashes(baseDir);
const r = await this.parsePluginJsBundle(jsBundleString);