Well, maybe you could wrap them all in an "if" statement like:
if(! window.HASRUN) {
... scripts
window.HASRUN = true ;
}
On Feb 15, 3:29 am, RA <[email protected]> wrote:
> I have a tiddler SiteStartup that I render from PageTemplate with
> display=none. Is there a way to ensure that javascript in SiteStartup
> only runs once? I guess some sort of global counter would be ok for a
> single script, but I have a number of scripts in SiteStartup and in
> tiddlers included therein.
--
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.