https://jetpack.mozillalabs.com/sdk/1.0b2/docs/#guide/chrome
By the way, I'd appreciate it if you could curb your sarcasm a bit; a
big part of any Mozilla project is its community, and lots of folks on
this list are working hard to make this product the best it can be--some
of them are volunteering their free time to do so. Constructive
criticism is always appreciated, but please don't denigrate the efforts
of everyone on the project.
Thanks!
- Atul
It'd be great to have that made into a handy little module so others can
use it without having to know what 'chrome' and all that XPCOM gloop
is... Would you be interested in turning it into a redistributable
package? No worries if not. :)
- Atul
Dne 19.2.2011 17:58, pd napsal(a):
> I think you might over-rate my coding abilities Atul. I'd like to yeah
> for sure. I did think about it. However I wouldn't know the first
> place to start and wouldn't want to write something crap then suggest
> others depend on it.
Just write a regular Jetpack library, post it somewhere and file a bug
to bugzilla for its inclusion. By that you can get code review for free.
Also, you can ask for the inclusion into
https://wiki.mozilla.org/Labs/Jetpack/Modules
Matěj
One of the really nice things about the CommonJS module/packaging system
is that it allows developers to share functionality without the need for
a "gatekeeper" like the core Jetpack team to include it in the official
distribution. The third-party package ecosystem can then serve as a
proving ground for packages that would eventually like to make their way
into the official distribution--at least, that's the way that
programming communities like Python work, and it was my original intent
in implementing Jetpack's packaging system.
- Atul
--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To post to this group, send email to mozilla-la...@googlegroups.com.
To unsubscribe from this group, send email to mozilla-labs-jet...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mozilla-labs-jetpack?hl=en.
It's true that Jetpack APIs are often implemented using Gecko's nsIFoo
components, but they are not simple wrappers, so you can't assume that
jetpack-foo will have the same methods as nsIFoo just because they seem
like they might be related. Jetpack APIs are something entirely new, so
it's best to approach them without any assumptions you might have from
working with other Mozilla code.
Also, window-utils and all other APIs in the api-utils package are
"low-level" APIs. You're free to use them, but unlike the "high-level"
APIs in addon-kit we don't make a special effort to keep them stable,
and they may have more inconsistencies and rough edges. Documenting
them is also not as high a priority as documenting addon-kit APIs. We
haven't done a good job of explaining the distinction between api-utils
and addon-kit until recently: the welcome page at
https://jetpack.mozillalabs.com/sdk/1.0b2/docs/ talks about it, among
other pages.
> I can't, they banned me.
You can make a pull request on GitHub: http://github.com/mozilla/addon-sdk
Or if you'd like to submit a patch via this group, that would be fine too!
Drew