It replaces only the first instance of the forvar .. So i tried to modify
the code of $:/plugins/tesseract/forloop/forloop.js
for (; i <= max; i += iter) {
textBuffer.push(text.replace(forvar, i));
}
with
for (; i <= max; i += iter) {
textBuffer.push(text.replace(/forvar/gi, i));
}
However, even then the code doesnt do a global replace ... any ideas?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/99a17d29-0990-4a03-9683-54cd5eee36ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.