Talk:FUEL/Ideas: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
(Preference)
Line 8: Line 8:


--[[User:Dmose|Dmose]]
--[[User:Dmose|Dmose]]
== Preference ==
If you want, you can take a look at an object i did for preferences manipulation :
http://bbcomposer.elitwork.com/source/bbcomposer/chrome/bbcomposer/content/option_service.js
Nicolas FROIDURE - 2007/04/27

Revision as of 11:19, 27 April 2007

MOZILLA may be a bit long, especially if it is used extensively in extensions. Why not an alias like MOZ or MZ.

Another useful feature for this library would be some helper for boilerplate code in components (and other places). Maybe something similar to the jssh ComponentUtils (generateNSGetModule / generateFactory): http://lxr.mozilla.org/mozilla/source/extensions/jssh/nsJSShStarter.js (I know there's a bug open about it)

--SylvainPasche 00:16, 8 January 2007 (PST)

I'd love to see some functions to help simplify interaction with nsISupportsArrays of nsISupportsPrimitives. Doing this by hand in JS is extremely annoying.

--Dmose

Preference

If you want, you can take a look at an object i did for preferences manipulation : http://bbcomposer.elitwork.com/source/bbcomposer/chrome/bbcomposer/content/option_service.js Nicolas FROIDURE - 2007/04/27