You already check for the existance of the state attribute:

if(this.stateTitle) {
                var state = 
this.wiki.getTextReference(this.stateTitle,this["default"],this.getVariable("currentTiddler"));


if this is changed to (broken for readability):

var state = this.stateTitle
    ? this.wiki.getTextReference(this.stateTitle,this["default"],this.
getVariable("currentTiddler"))
    : this["default"];

We would have it, wouldn't we?




-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to