Thanks to Eric's tip from the last hangout, I managed to tackle my macro
refresh problems simply by not running certain codebits on startingUp==true.
I believe I have also found a solution for this old problem and it would be
good if you, Eric, could take a look and see if that doesn't break anything
else...
config.refreshers = {
tiddler: function(e,changeList)
{
* if(startingUp)return true;*
var title = e.getAttribute("tiddler");
var template = e.getAttribute("template");
if(changeList && (changeList.indexOf && changeList.indexOf(title) != -1) &&
!story.isDirty(title))
story.refreshTiddler(title,template,true);
else
refreshElements(e,changeList);
return true;
}
}
To see that it works, compare this....
https://dl.dropboxusercontent.com/u/2040050/tw2/2013.09.11_StartupTransclusion.html
To the MTC where transclusion fails...
http://startuptransclusions.tiddlyspot.com
Best wishes, Tobias.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.