1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00

More fields hoisted up from plugin.info file into plugin tiddler

This commit is contained in:
Jeremy Ruston 2013-05-01 12:01:43 +01:00
parent c373fea350
commit cb675732b2

View File

@ -1076,6 +1076,9 @@ $tw.loadPluginFolder = function(filepath,excludeRegExp) {
plugin: "yes", plugin: "yes",
text: JSON.stringify(pluginInfo,null,4), text: JSON.stringify(pluginInfo,null,4),
"plugin-priority": pluginInfo["plugin-priority"], "plugin-priority": pluginInfo["plugin-priority"],
"name": pluginInfo["name"],
"thumbnail": pluginInfo["thumbnail"],
"description": pluginInfo["description"],
"plugin-type": pluginInfo["plugin-type"] || "plugin" "plugin-type": pluginInfo["plugin-type"] || "plugin"
} }
return fields; return fields;