mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-11-19 05:14:28 +00:00
Rename variable for clarity
It’s called an iterator in filter.js
This commit is contained in:
1 parent
1563f207b3
commit
ced9f315a1
1 file changed
+2
-2
@@ -37,10 +37,10 @@ function SaverHandler(options) {
|
||||
// Listen out for changes to tiddlers
|
||||
this.wiki.addEventListener("change",function(changes) {
|
||||
// Filter the changes so that we only count changes to tiddlers that we care about
|
||||
var filteredChanges = self.filterFn.call(self.wiki,function(callback) {
|
||||
var filteredChanges = self.filterFn.call(self.wiki,function(iterator) {
|
||||
$tw.utils.each(changes,function(change,title) {
|
||||
var tiddler = self.wiki.getTiddler(title);
|
||||
callback(tiddler,title);
|
||||
iterator(tiddler,title);
|
||||
});
|
||||
});
|
||||
// Adjust the number of changes
|
||||
|
||||
Reference in new issue
Block a user