>> You can create a JS module with the module-type "tiddlerfield" that exposes the same properties; the core will load it as part of the boot process.
Yay! That worked and I got all the other pieces to work too. I've posted the results at http://cpashow.tiddlyspot.com/ >> But adding a tiddlerfield module is not recommended. It means that all code that attempts to read that field will return an array, rather than a string. >>The recommended approach is to use $tw.utils.parseStringArray when you read your field to convert it into an array, and then use $tw.utils.stringifyList when you write your field to ensure that it gets written as a string. >>Does that make sense? Yes that does make sense. Because some people will want to implement the functionality as space separated lists while other will want to implement it as arrays (Which is how I want to do it, but I understand the need) OK, so more work tomorrow. I'll add some code that checks to see if the field is an array or not before doing the assignments. I'll post here when I get it working. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" 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/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

