Re: XBL bound tag in a template DOM timing issue

dave fletcher <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <CAAL67RxG37VFsbiyBM6T=yu-BRcs=TLkFs=texvTDeEdC6JpvQ@mail.gmail.com>
On Oct 8, 6:12 am, Neil Deakin <[email protected]> wrote:
> You may want to just wait for the rdf file to be read first, which
> unfortunately, isn't that simple. Seehttps://developer.mozilla.org/en/RDF_in_Mozilla_FAQ

Yikes, hrm it's a top-down polling method, checking .loaded. It would
have been nice if it were a callback. I guess I'll stick with
window.setTimeout(), check .loaded in there and repeat the call if
not. Harsh but I can at least make a utility function out of that idea
and pass a callback to it, so it's easy to wrap my XBL constructors.

Thanks Neil.

Cheers,

--fletch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.