fantasai wrote:
It's not very pretty, but it's open to contributions and criticism. No, the front page is not final. Yes, patches are welcome.
http://developer-test.mozilla.org/
During random browsing, I stumbled over http://developer-test.mozilla.org/xpcom/api/nsDirectoryService
I noticed that only a C++ sample was provided; but just yesterday someone was asking for how to get the temp dir. from javascript (exactly what the C++ sample there does).
So... Maybe all examples should be listed in C++ and JavaScript variants? (if scriptable)
The idea is to start with one language binding (and some idl) and in a later step to try to automate some of the example code so that you could generate the different code segments automagically from one source (at least that's what I understand to be the idea).
I'd think that C++ is the way to start this off, as that can use anything, so you don't have to switch the language once you end up on a not-scriptable method. Though it's not perfect this way either.
Axel _______________________________________________ mozilla-documentation mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-documentation
