Yes, that was it! Thanks!
w

On Mar 7, 4:56 pm, Jeremy Ruston <[email protected]> wrote:
> You need to initialise validTypes like this:
>
> var validTypes = "";
>
> Cheers
>
> Jeremy
>
>
>
>
>
>
>
>
>
> On Wed, Mar 7, 2012 at 3:44 PM, whatever <[email protected]> wrote:
> > Hi!
>
> > I'm working on a generic infobox plugin, but I'm still having a couple
> > of bugs to work out. One of them I've narrowed down to the following
> > piece of code (beware googlewrap):
>
> > <script>
> > var list = store.getTaggedTiddlers("systemConfig");
> > var validTypes;
> > var i;
> > for (i = 0; i < list.length; i++) {
> > validTypes += list[i].title + ", ";
> > }
> > wikify("No. of tiddlers: " + list.length + "<br/>List of tiddlers: " +
> > validTypes, place);
> > </script>
>
> > The problem is, that at the beginning of the list, it (validTypes)
> > puts "undefined". What am I missing?
>
> > w
>
> > --
> > 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 
> > athttp://groups.google.com/group/tiddlywiki?hl=en.
>
> --
> Jeremy Ruston
> mailto:[email protected]://www.tiddlywiki.com

-- 
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