[Project_owners] global namespace conflicts?

Nickolay Ponomarev asqueella at gmail.com
Wed Jun 7 00:42:31 EDT 2006


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

Nickolay


More information about the Project_owners mailing list