View Full Version : window.id or Ext.id?
fjanon
30 Jul 2007, 12:17 AM
I see a "window.id" variable with Firefox with a value of "ext-gen1". So I guess it's created by ext. Just wanted to know if it's intended or if it should be in the Ext namespace?
Variable sometimes appear in the "window" object when we forget "this" or "var" in our code...
Fred
matjaz
30 Jul 2007, 4:10 AM
http://extjs.com/forum/showthread.php?t=8322#post42080
fjanon
30 Jul 2007, 8:05 PM
http://extjs.com/forum/showthread.php?t=8322#post42080
I hunted for that one for a while myself a while back. It is an "id" attribute assigned to the window object, which makes it appear as a global variable even though it isn't.
__________________
Jack Slocum
Ext JS - Core Development Team
Thanks! It looks like the bug is still there in 1.1RC1
jack.slocum
30 Jul 2007, 8:15 PM
It's not a bug. Did you read the post?
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.