Jed has produced a superb interface there.

> I am flumoxed and think there is a simple space issue in the code.

Could you expand on that thought?

I've had another look at the JavaScript of the "youtube-embed" macro, and 
can't see anything wrong with it. I've added some comments to it (on 
http://aelocson-test-1.tiddlyspot.com) that may help you better understand 
how it works.

But I did spot a mistake I'd made in the definition of the "topiclink" 
macro. It was using the value of "hangoutprefix" as the prefix of the 
target of its generated link, where it should have been using the string 
"TwHo#" plus the value of "hangout" - which should be a simple number, like 
this:

\define hangout() 73

Apologies for that: it's now corrected.

The trap I fell into when I first experimented with JavaScript macro 
modules was that I expected my changes to the macro's cde to immediately 
show up in the tiddlers that called the macro. But they don't. You have to 
refresh the page first, so that TiddlyWiki gets a chance to re-execute the 
module definition. This can be bewildering if you don't realise what's 
going on.

Additional confusion may have arisen from the fact that I've published 
these macros to you in several steps, and later steps have modified some of 
my work in earlier steps. I adjusted some of the parameter names, for 
example.

I'll reply to your Dev posting with some thoughts on debugging.

– æ

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

Reply via email to