Say i store values in two tiddlers and i want to add those values through a javascript macro in tiddlywiki. So i tried the following, but it keeps showing that this.getTiddler is not a function. I would like to understand how to do it.
exports.run = function(var1, var2) {var t1=$tw.utils.parseFields($tw.wiki.getTiddler(var1).fields.text); // <--- see $tw.wiki instead of this. ..var t2=$tw.utils.parseFields($tw.wiki.getTiddler(var2).fields.text); // may do the trick