lol yeah i'm too used to writing JS code that would work on multiple browsers :)p

Karsten Düsterloh wrote:
Konstantin Svist wrote:
the other way is to use XmlHttpRequest to retrieve source of a.js while running b.js (and then eval source of a.js). Of course, usual caveats with using eval apply.

That's mad, we have an interface for loading JS files:
http://lxr.mozilla.org/seamonkey/source/js/src/xpconnect/idl/mozIJSSubScriptLoader.idl


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

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

Reply via email to