PDA

View Full Version : [solved] Minor Bug: Ext creates global var id


Wolfgang
08-04-2007, 09:32 AM
Hello,
using Ext1.1R1 i found that Ext creates a global var: id after loading.

It seems to happen in the yui-adapter.js. Due to that yui-adapter.js is minified, i did not dig into this further.

When loading ext-all-debug.js, the var id is created with value "ext-gen1" after this call:
Line 1489:

fn._handlers.push([Ext.id(el), ename, h]);


Which is called from here
Line 3963:

Ext.EventManager.on(window, 'unload', function(){
delete El.cache;
delete El._flyweights;
});


Regards

Wolfgang

mystix
08-04-2007, 09:51 AM
this was just discussed a mere 4 days ago. it is not a bug.

attached are the relevant threads for your reference:
(Posted 30 July 2007) http://extjs.com/forum/showthread.php?t=10149
(Posted 27 June 2007) http://extjs.com/forum/showthread.php?t=8322#post42080

Wolfgang
08-04-2007, 11:28 AM
Thanks for the links.
Sorry for reporting a "false positive" ;)