1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-11-18 00:05:15 +00:00

Rename widget.executeStartupTiddlers() to invokeActionsByTag()

This method was introduced earlier in v5.1.23 in  5cc1600072

It is not in fact restricted to startup tiddlers.
This commit is contained in:
jeremy@jermolene.com
2020-11-26 12:41:24 +00:00
parent 8320a55fef
commit 9637a29e55
3 changed files with 6 additions and 6 deletions

View File

@@ -574,10 +574,10 @@ Widget.prototype.invokeActionString = function(actions,triggeringWidget,event,va
/*
Execute action tiddlers by tag
*/
Widget.prototype.executeStartupTiddlers = function(tag) {
Widget.prototype.invokeActionsByTag = function(tag,event,variables) {
var self = this;
$tw.utils.each(self.wiki.filterTiddlers("[all[shadows+tiddlers]tag[" + tag + "]!has[draft.of]]"),function(title) {
self.invokeActionString(self.wiki.getTiddlerText(title),self);
self.invokeActionString(self.wiki.getTiddlerText(title),self,event,variables);
});
};