[Project_owners] global namespace conflicts?

Philip Chee philip.chee at gmail.com
Wed Jun 7 14:20:15 EDT 2006


On Tue, 6 Jun 2006 23:42:31 +0400, Nickolay Ponomarev wrote:
> On 6/6/06, Philip Chee <philip.chee at gmail.com> wrote:

>> The Greasemonkey component uses mozIJSSubscriptLoader to load scripts
>> from the extension part of Greasmonkey. Why would they do it this way?

> (Assuming you're talking about loading JS files from
> chrome://greasemonkey/content/...) Probably because there's no better

Yes. That's it.

> way to include reusable chunks of code in a JS component, and sticking
> all the code in a single component file results in something as big as
> nsExtensionManager.js.

Just by coincidence, last night, I was plowing my way through
nsExtensionManager.js and getting a headache for my troubles.

Phil

-- 
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.
[ ]Daddy, what does FORMATTING DRIVE C: mean?
* TagZilla 0.059


More information about the Project_owners mailing list