> <script> > if (tiddler && tiddler.isTagged('systemConfig')) > wikify("[x(systemConfigDisable){}{}{var > id=story.findContainingTiddler(place).getAttribute('tiddler');}] > [[disable|systemConfigDisable]]", place); > </script>
You can simply even further, by eliminating the use of wikify(...) by just *returning* the desired output. InlineJavascriptPlugin automatically wikifies any text that is returned. Also, I don't think you need to use the optional {...} checkbox syntax, so you can drop that part as well. The result is very compact: <script> if (tiddler && tiddler.isTagged('systemConfig')) return "[x(systemConfigDisable)][[disable|systemConfigDisable]]"; </script> enjoy -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlyw...@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.