Is it possible to have "library" conflicts between extensions?
For example, say our extension uses "MochiKit", a particular version.
What if some other extension uses another version of it? It seems like this
would cause issues, correct?
Is there a way around it other than creating our own copy of the library
and doing a namespace of the sort?
Thanks,
Alex
--
alex iskold
founder & cto
http://www.adaptiveblue.com
var ExtensionName = {
onLoad: function() {
// initialization code
this.initialized = true;
},
onMenuItemCommand: function() {
window.open("chrome://helloworld/content/hello.xul", "", "chrome");
}
};
> Is it possible to have "library" conflicts between extensions?
> For example, say our extension uses "MochiKit", a particular version.
> What if some other extension uses another version of it? It seems like this
> would cause issues, correct?
> Is there a way around it other than creating our own copy of the library
> and doing a namespace of the sort?
I don't know anything about Moochkitty but you could try creating a
singleton object and then using mozIJSSubscriptLoader to load your
library into the context of the object.
Phil
--
Philip Chee <phi...@aleytys.pc.my>, <phili...@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.
[ ]Break up a relationship - buy a computer!!
* TagZilla 0.059