>> > 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 mean as a method on the parser or dependencies object? Yes, that makes sense. Best wishes Jeremy -- 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.
