mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Fix bug with plugintiddlers filter operator
This commit is contained in:
parent
a19432541e
commit
b8d0fd059b
@ -899,6 +899,11 @@ $tw.Wiki = function(options) {
|
||||
}
|
||||
};
|
||||
|
||||
// Get plugin info for a plugin
|
||||
this.getPluginInfo = function(title) {
|
||||
return pluginInfo[title];
|
||||
};
|
||||
|
||||
// Register the plugin tiddlers of a particular type, optionally restricting registration to an array of tiddler titles. Return the array of titles affected
|
||||
this.registerPluginTiddlers = function(pluginType,titles) {
|
||||
var self = this,
|
||||
|
@ -21,7 +21,7 @@ exports.plugintiddlers = function(source,operator,options) {
|
||||
switch(operator.operand) {
|
||||
default:
|
||||
pushShadows = function(title) {
|
||||
var pluginInfo = options.wiki.pluginInfo[title];
|
||||
var pluginInfo = options.wiki.getPluginInfo(title);
|
||||
if(pluginInfo) {
|
||||
$tw.utils.each(pluginInfo.tiddlers,function(fields,title) {
|
||||
results.push(title);
|
||||
|
Loading…
Reference in New Issue
Block a user