Stefan Frasch wrote: > Hi, > > Is there anywhere an article or tutorial which shows and describe how I have > to implement components in JavaScript ? > > I want to implement an interface in JS because then I'am able to call JS > functions from inside my plugins via XPConnect. > > Some documentation I have found describes only implementing components in > C++. The way I call methods of these component (via Interface) I have > understand. But nowhere I have found something about implementing components > in JS. > > Thanks ... > >
Try here: http://www.mozdev.org/notes/hello_world_js_component.html And here: http://lxr.mozilla.org/seamonkey/source/xpcom/sample/ Look at nsSample.js --pete
