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 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 _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
