O, that works in firefox
but in IE with firebug lite, turn it off will cause 'this.panelMap' is
undefined or not an object.


On Sat, Oct 23, 2010 at 1:03 PM, John J Barton
<[email protected]>wrote:

>
>
> On Oct 22, 7:58 pm, leegorous <[email protected]> wrote:
> > Hi,
> >
> > I use FB to do the logging things, but it will throw an error after FB
> > disabled.
> > And I want this, $.log = console.log, as shortcut.
> > $.log = function() {}, when FB disabled.
>
> if (window.console) $.log = console.log
> else $.log = function() {}
> jjb
>
> >
> > To do this, it need to know when FB is available or not, to switch to
> > the right function.
> > Can I do that?
> >
> > Leegorous
>
> --
> 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]<firebug%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/firebug?hl=en.
>
>


-- 
猛击 http://leegorous.net/blog/ 吧!

-- 
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