Hi,

In my sample extension I have the following line:

FBL.ns(function() { with (FBL) {

All is fine until I detach firebug in which case I'm seeing the
following exception:

"FTS0: fbs.onError with this.showStackTrace=true and
this.breakOnErrors=true kind
=Uncaught-Exception msg=ReferenceError: FBL is not [EMAIL PROTECTED]://
testExtension/
content/test.js:13.0"

Frankly, I don't have a good handle on how this namespace magic works,
other than we are encapsulating each file in a seperate object so it
is not exposed globally and the only global object is FBL.

Does this imply that the architecture does not allow for sharing
functionality (e.g. network monitoring) between the various modules
and extensions?
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.

Thanks,
Manoj
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to