> So far I have been unable to replicate this.
> If the slice doesn't exist, it will return a blank value.

Looking at the TW262 core code:

store.getTiddlerText() calls on store.getTiddlerSlice()

If the slice exists, then getTiddlerSlice() returns a value which is,
in turn, returned by getTiddlerText() to the calling function (e.g.,
the <<view>> macro).

However, if the slice does not exist, then getTiddlerSlice() returns a
NULL (i.e., a "blank value", as intended), but... getTiddlerText()
does *not* return that null value to the calling function.  Instead,
it falls through to the "non-slice" handling that follows the slice
retrieval code, and this code ends up returning the entire tiddler
text to the caller.

-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to