On Tue, 28 Mar 2006 16:57:39 +0200, Fabio Serra wrote:
> 2006/3/28, Pete Collins <[EMAIL PROTECTED]>:

>> That's why I don't recommend breaking the library apart and bundling it
>> in your extension.

> We could wrap the jslib in a sort of namespace as the javascript STL
> (http://www.webreference.com/programming/javascript/gr/column13/index.html)
> or the YAHOO UI library or in the same way followed by dojo or mochikit.

How about using mozIJSSubScriptLoader to load the jslib code into the
scope of an object which name can be defined by the extension writer?

Phil

-- 
Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Apathy Error: Don't bother striking any key.
* TagZilla 0.059
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to