rem: bd.addClass(cls.join(' ')); 
add: if(v === undefined){ return ''; } if(typeof v == "number" || !El.unitPattern.test(v)){ return v + (defaultUnit || 'px'); } return v; };   El.boxMarkup = '<div class="{0}-tl"><div class="{0}-tr"><div class="{0}-tc"></div></div></div><div class="{0}-ml"><div class="{0}-mr"><div class="{0}-mc"></div></div></div><div class="{0}-bl"><div class="{0}-br"><div class="{0}-bc"></div></div></div>';  El.VISIBILITY = 1;  El.DISPLAY = 2;  El.borders = {l: "border-left-width", r: "border-right-width", t: "border-top-width", b: "border-bottom-width"}; El.paddings = {l: "padding-left", r: "padding-right", t: "padding-top", b: "padding-bottom"}; El.margins = {l: "margin-left", r: "margin-right", t: "margin-top", b: "margin-bottom"};     El.cache = {};  var docEl;   El.get = function(el){ var ex, elm, id; if(!el){ return null; } if(typeof el == "string"){ if(!(elm = document.getElementById(el))){ return null; } if(ex = El.cache[el]){ ex.dom = elm; }else{ ex = El.cache[el] = new El(elm); } return ex; }else if(el.tagName){ if(!(id = el.id)){ id = Ext.id(el); } if(ex = El.cache[id]){ ex.dom = el; }else{ ex = El.cache[id] = new El(el); } return ex; }else if(el instanceof El){ if(el != docEl){ el.dom = document.getElementById(el.id) || el.dom;  El.cache[el.id] = el; } return el; }else if(el.isComposite){ return el; }else if(el instanceof Array){ return El.select(el); }else if(el == document){  if(!docEl){ var f = function(){}; f.prototype = El.prototype; docEl = new f(); docEl.dom = document; } return docEl; } return null; };   El.uncache = function(el){ for(var i = 0, a = arguments, len = a.length; i < len; i++) { if(a[i]){ delete El.cache[a[i].id || a[i]]; } } };     El.garbageCollect = function(){ if(!Ext.enableGarbageCollector){ clearInterval(El.collectorThread); return; } for(var eid in El.cache){ var el = El.cache[eid], d = el.dom;                  if(!d || !d.parentNode || (!d.offsetParent && !document.getElementById(eid))){ delete El.cache[eid]; if(d && Ext.enableListenerCollection){ E.purgeElement(d); } } } } El.collectorThreadId = setInterval(El.garbageCollect, 30000);  var flyFn = function(){}; flyFn.prototype = El.prototype; var _cls = new flyFn();   El.Flyweight = function(dom){ this.dom = dom; };  El.Flyweight.prototype = _cls; El.Flyweight.prototype.isFlyweight = true;  El._flyweights = {};  El.fly = function(el, named){ named = named || '_global'; el = Ext.getDom(el); if(!el){ return null; } if(!El._flyweights[named]){ El._flyweights[named] = new El.Flyweight(); } El._flyweights[named].dom = el; return El._flyweights[named]; };   Ext.get = El.get;  Ext.fly = El.fly;   var noBoxAdjust = Ext.isStrict ? { select:1 } : { input:1, select:1, textarea:1 }; if(Ext.isIE || Ext.isGecko){ noBoxAdjust['button'] = 1; }   Ext.EventManager.on(window, 'unload', function(){ delete El.cache; delete El._flyweights; 
context: Ext.onReady(function(){    var bd = Ext.get(document.body);    if(!bd){ return; }    var cls = [            Ext.isIE ? "ext-ie"            : Ext.isGecko ? "ext-gecko"            : Ext.isOpera ? "ext-opera"            : Ext.isSafari ? "ext-safari" : ""];    if(Ext.isMac){        cls.push("ext-mac");    }    if(Ext.isLinux){        cls.push("ext-linux");    }    if(Ext.isBorderBox){        cls.push('ext-border-box');    }    if(Ext.isStrict){         var p = bd.dom.parentNode;        if(p){            p.className += ' ext-strict';        }    }    bd.addClass(cls.join(' '));});
meta: 2891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/2891/d109eea1e59fbb030ac98e95f181f72da9611a48/ext-all-debug.js/buggy/gemma-web/src/main/webapp/scripts/ext/ext-all-debug.js