Hi Arlen, Let me add to the mystery!
Page display is kicked off by code in modules/startup/render.js. When a change occurs, this calls $tw.pageWidgetNode.refresh(), passing three parameters. But $tw.pageWidgetNode is an instance of the Widget base class, so its refresh() method will only be expecting one parameter (and it doesn't do anything clever with its arguments array). Furthermore, I can't find any widget with a refresh() method that takes more than one parameter, and the only places where refresh() is *called* with just one parameter are Widget.refreshChildren() and ListWidget.handleListChanges(). So it appears that the extra two parameters are never used. And I guess it's also the case that the ultimate return value of the stack of calls to refresh() is never used for anything either. Perhaps Jeremy originally intended to use it for some purpose, then found a better way. – æ -- 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/d/optout.
