[tw] Re: tiddlywiki: Toggling tags with CheckboxPlugin macro syntax to prevent recursion overflow?

2009-08-04 Thread tony

On Aug 4, 12:28 am, ccahua cca...@gmail.com wrote:
 The checkbox behavior works, but has erroneous
 consequences.

Hmm, maybe the error is just coincidental to CheckboxPlugin because
Firebug is flagging the error to a line from the Sizzle CSS Selector
Engine - v0.9.3
starting with this hairy regex:

  (function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|
['][^']*[']|[^[\]']+)+\]|\\

oh well, I'll keep digging.

Best,
tony
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



[tw] Re: tiddlywiki: Toggling tags with CheckboxPlugin macro syntax to prevent recursion overflow?

2009-08-04 Thread Eric Shulman

 When I use span macro=checkbox |tag1/span, it too works this
 time toggling tag1 for all tiddlers,
 but I'm coming up with a RangeError: Maximum call stack size
 exceeded on Safari and InternalError: too much recursion in Firefox
 when I click on a WikiWord or reload the Tiddlywiki document I get a
 Error in macro View [1]

As per the documentation in CheckboxPluginInfo:
...If you omit the tiddler title (and the | or : separator), the
specified tag is assigned to the current tiddler...

Thus, the correct syntax is:
   span macro=checkbox tag1/span
   (i.e., omit the vertical bar)

Although |tag1 is invalid syntax, I will nonetheless look into it to
catch the error and handle it better.

enjoy,
-e
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~--~~~~--~~--~--~---