You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
Request for a minor enhancement: when TiddlyFox is ready, dispatch an event (like tiddlyfox-ready).
When loading a TiddlyWiki (compatible) file, the injected methods are not available right away. First, the permissions dialog must be accepted. But even when the permissions are cached, there is a slight delay before methods like mozillaSaveFile become available. The duration of this delay is not consistent.
The reason I am asking for this enhancement is because I am re-using TiddlyFox for my own project (quine.html). It is partially functional even if TiddlyFox is not installed. So I test if TiddlyFox is available and show a notification if TiddlyWiki is not found.
I worked around the delay and lack of event when TiddlyFox is ready by polling via setInterval() and giving up after about 80ms. It's not perfect, and having an event would be much better.
BTW thanks for TiddlyFox and TiddlyWiki!
The text was updated successfully, but these errors were encountered:
Request for a minor enhancement: when TiddlyFox is ready, dispatch an event (like
tiddlyfox-ready
).When loading a TiddlyWiki (compatible) file, the injected methods are not available right away. First, the permissions dialog must be accepted. But even when the permissions are cached, there is a slight delay before methods like
mozillaSaveFile
become available. The duration of this delay is not consistent.The reason I am asking for this enhancement is because I am re-using TiddlyFox for my own project (quine.html). It is partially functional even if TiddlyFox is not installed. So I test if TiddlyFox is available and show a notification if TiddlyWiki is not found.
I worked around the delay and lack of event when TiddlyFox is ready by polling via
setInterval()
and giving up after about 80ms. It's not perfect, and having an event would be much better.BTW thanks for TiddlyFox and TiddlyWiki!
The text was updated successfully, but these errors were encountered: