[Project_owners] How to pass custom JS XPCOM component to observers?

eric.jung at yahoo.com eric.jung at yahoo.com
Tue Jan 16 07:02:23 PST 2007


----- Original Message ----
From: Nickolay Ponomarev <asqueella at gmail.com>

>Why are you passing components as a string data parameter?
I never really understood the difference between the 1st and 3rd arguments. So the 1st arg can be any object that implements nsISupports, and the 3rd can only be a string?

>You can pass the component as an nsISupports parameter ("subject") easily.
Thanks, that worked.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070116/9307676b/attachment.html 


More information about the Project_owners mailing list