> What I was hoping to find was an excludeOrphans that I could tag the
> story tiddlers with to prevent them from showing up in the Orphans tab.
That this simple plugin:
---------------
TiddlyWiki.prototype.getOrphans = function() {
var results = [];
this.forEachTiddler(function (title,tiddler) {
if(this.getReferringTiddlers(title).length == 0 &&
!tiddler.isTagged("excludeLists") &&
!tiddler.isTagged("excludeOrphans")) {
results.push(title);
}
});
results.sort();
return results;
};
---------------
All that does duplicate the core's getOrphans method and add
'!tiddler.isTagged("excludeOrphans")' to the if condition.
HTH.
-- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---