On 3/3/06, Eric H. Jung <[EMAIL PROTECTED]> wrote:
> > Also what does typeof (new MyClass()) return in a HTML page, and from a
> > chrome script?
>
> They both return "object"
>
As I suggested on the mozillazine forums, try (new MyClass())
instanceof Object. This check fails for me when and only when the JSON
call fails to work. Figuring out why their code returns null is
something you could easily do yourself, though.

Nickolay
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to