[Project_owners] Programming guidelines for extensions and add-ons
brian at mozdev.org
Mon Sep 19 19:32:09 EDT 2005
Karsten Düsterloh wrote:
> I'd say that the most important rule should be:
> *Don't pollute the global namespace!*
Absolutely. If at all possible, wrap *all* of your extension JS code in
a JS class.
When adding your own preferences, always prepend it with extensions.
More information about the Project_owners