> That this simple plugin
That should be "Try"...
Here's a more future-proof version using hijacking*:
---------------
(function() {
var orig = TiddlyWiki.prototype.getOrphans;
TiddlyWiki.prototype.getOrphans = function() {
var orphans = orig.apply(this, arguments);
return orphans.filter(function(item, i) {
var tiddler = store.getTiddler(orphans[i]);
if(tiddler.isTagged("excludeOrphans")) {
return false;
}
});
};
})();
---------------
However, the filter method is probably not supported on IE6-7, so you
might wanna use a for loop instead.
-- F.
* http://tiddlywiki.org/wiki/Dev:Hijacking
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---