Mochabot log - CommonJS IRC channel: #commonjs on irc.freenode.net

2010-06-24:

[18:31] <malouin> I'm writing a commonjs implementation for firefox extensions.
[18:32] <malouin> err, commonjs modules implementation.
[18:33] <malouin> firefox already has an internal module system, but I'd like to share modules between a firefox extension project and some other projects.
[18:33] <malouin> I really like the cjs modules spec.
[18:34] <malouin> in the firefox extensions, I end up having to use a build process to prepend some boilerplate to commonjs module files to turn them into something firefox will work with.
[18:35] <malouin> which is annoying but acceptable for my purposes.
[18:39] <malouin> If people are aware of existing implementations for firefox extensions, I'd love to hear about them.
[19:05] <deanlandolt1> malouin: i'd talk to irakli -- he's done something similar IIRC
[19:05] <malouin> cool!
[19:34] <tlrobinson> yeah irakli works at mozilla now too
[19:36] <malouin> narwzilla seems to do what I'm doing in an interesting way.
[20:07] <mikeal> malouin: jetpack supports commonjs modules
[20:07] <mikeal> the old module system, called resources (Components.utils.import), is a pain in the ass for sure
[20:08] <mikeal> if their commonjs module system isn't compliant then it's a bug and needs to be fixed

 

 

Logs by date :