On Feb 10, 2012 9:21 AM, "Jeremy Ruston" <[email protected]> wrote: > > > I have it working. Initially it was a bit of a pain as I needed to > > account non-existent keys. It _might_ (but I'm not sure) be useful to > > make the returned object have default empty values. > > That makes sense. The reason they don't have empty values is that I > wanted the code to be able to extend gracefully to cover other types > of parsed relationship between tiddlers (not that I can think of any > besides "link" and "include").
Maybe it would make more sense to provide a getattr style helper function than to provide default values to everything. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev?hl=en.
