'top' is not reserved in Javascript, but if you create a variable with
the same name as a property of 'window', the property is hidden.   I
guess library code should use "window.top" to reference window
properties to avoid this issue.

jjb

On Dec 30, 8:46 pm, MitchV <[email protected]> wrote:
> Okay!  I figured this out.
>
> I had a variable called top in my code.
>
> Here is the interesting thing by the way... if I stepped through the
> code, the problem would not occur.
>
> Anyway fix was to change the variable name.
>
> Is top a reserved word?
>
> On Dec 26, 12:56 pm, John J Barton <[email protected]>
> wrote:
>
> > In your app try something like
> >   console.log( eval(x) );
> > or
> >   window.alert( eval(x) );
>
> > Maybe one of the libraries is trying to mess with 'eval'.
>
> > jjb
>
> > MitchV wrote:
> > > Hi,
>
> > > I am a new Firebug user.  I have just loaded the latest version, and
> > > am getting this error in the console, when I type anything in the
> > > console (i.e. "12")
>
> > > This only happens on the page I am trying to debug...
>
> > > When I try it on other pages (this one for example)  all is fine.
>
> > > The page I am building includes use of "livepipe", "magicajax" and the
> > > X library.    So I am guessing some interaction between these?
>
> > > Thanks in advance
>
> > > Mitch
--~--~---------~--~----~------------~-------~--~----~
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