On Tue, 6 Jun 2006 23:42:31 +0400, Nickolay Ponomarev wrote:
> On 6/6/06, Philip Chee <[EMAIL PROTECTED]> 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 <[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.
[ ]Daddy, what does FORMATTING DRIVE C: mean?
* TagZilla 0.059
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to