> All is fine until I detach firebug in which case I'm seeing the
> following exception:
Fixed (branches/Firebug1.4, R1422)
> Does this imply that the architecture does not allow for sharing
> functionality (e.g. network monitoring) between the various modules
> and extensions?
The opposite is true. Sharing of functionality (and code) among
modules is a priority and the right way to go. The sharing is done
through the global Firebug object.
So for example one module can define a function:
FBL.ns(function() { with (FBL) {
Firebug.TextExtModule.addListener = function(listener) {
// ...
}
}});
... and another one can use it as follows:
FBL.ns(function() { with (FBL) {
Firebug.TextExtModule.addListener(listener)
}});
> for e.g. Is there an API which allows me to add a listener so the net
> module can keep my extension updated of the traffic it's already
> monitoring OR do I have to duplicate that functionality in my module.
There is already a support for listeners, but must be improved yet.
Please see: http://code.google.com/p/fbug/issues/detail?id=948
I have tried to suggests some APIs, but I am not sure if it's flexible
enough.
Please, put your requirements into it so, I can design the listener
properly.
Honza
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---