[Project_owners] jslib

Philip Chee philip.chee at gmail.com
Wed Mar 29 02:33:19 EST 2006

On Tue, 28 Mar 2006 16:57:39 +0200, Fabio Serra wrote:
> 2006/3/28, Pete Collins <pete at mozdevgroup.com>:

>> 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?


Philip Chee <philip at aleytys.pc.my>, <philip.chee at gmail.com>
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

More information about the Project_owners mailing list