mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 06:44:50 +00:00
Fix plugin bag names
This commit is contained in:
parent
d0575d6e8e
commit
5d6ddaee7e
@ -66,13 +66,13 @@ function loadPluginBags() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),function(folder) {
|
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),function(folder) {
|
||||||
collectPublisherPlugins(folder,"plugin");
|
collectPublisherPlugins(folder,"plugins");
|
||||||
});
|
});
|
||||||
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),function(folder) {
|
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),function(folder) {
|
||||||
collectPublisherPlugins(folder,"theme");
|
collectPublisherPlugins(folder,"themes");
|
||||||
});
|
});
|
||||||
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),function(folder) {
|
$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),function(folder) {
|
||||||
collectPlugins(folder,"language");
|
collectPlugins(folder,"languages");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,9 +78,9 @@ function loadWikiFolder(options) {
|
|||||||
recipeList.push(makePluginBagName(type,publisher,name));
|
recipeList.push(makePluginBagName(type,publisher,name));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
processPlugins("plugin",wikiInfo.plugins);
|
processPlugins("plugins",wikiInfo.plugins);
|
||||||
processPlugins("theme",wikiInfo.themes);
|
processPlugins("themes",wikiInfo.themes);
|
||||||
processPlugins("language",wikiInfo.languages);
|
processPlugins("languages",wikiInfo.languages);
|
||||||
// Create the recipe
|
// Create the recipe
|
||||||
recipeList.push(options.bagName);
|
recipeList.push(options.bagName);
|
||||||
$tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription);
|
$tw.mws.store.createRecipe(options.recipeName,recipeList,options.recipeDescription);
|
||||||
|
Loading…
Reference in New Issue
Block a user