rem: }; }; }; 
add: } } } 
context: qx.ui.core.Widget.flushGlobalDisplayQueue = function(){  var vKey, vLazyQueue, vWidget, vFragment;  var vFastQueue = qx.ui.core.Widget._fastGlobalDisplayQueue;  var vLazyQueues = qx.ui.core.Widget._lazyGlobalDisplayQueues;  /* -----------------------------------------------      Flush display queues  ----------------------------------------------- */  // Work on fast queue  for (var i=0, l=vFastQueue.length; i<l; i++)  {    vWidget = vFastQueue[i];    vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement());  };  // Work on lazy queues: Inline widgets  for (vKey in vLazyQueues)  {    vLazyQueue = vLazyQueues[vKey];    for (var i=0; i<vLazyQueue.length; i++)    {      vWidget = vLazyQueue[i];      if (vWidget instanceof qx.ui.basic.Inline)      {        vWidget._beforeInsertDom();        try        {          document.getElementById(vWidget.getInlineNodeId()).appendChild(vWidget.getElement());        }        catch(ex)        {          vWidget.debug("Could not append to inline id: " + vWidget.getInlineNodeId(), ex);        };        vWidget._afterInsertDom();        vWidget._afterAppear();        // Remove inline widget from queue and fix iterator position        qx.lang.Array.remove(vLazyQueue, vWidget);        i--;        // Reset display queue flag        delete vWidget._isInGlobalDisplayQueue;      };    };  };  // Work on lazy queues: Other widgets  for (vKey in vLazyQueues)  {    vLazyQueue = vLazyQueues[vKey];    // test for minimum childrens which should    // be added to the same parent    if (document.createDocumentFragment && vLazyQueue.length >= 3)    {      // creating new document fragment      vFragment = document.createDocumentFragment();      // appending all widget elements to fragment      for (var i=0, l=vLazyQueue.length; i<l; i++)      {        vWidget = vLazyQueue[i];        vWidget._beforeInsertDom();        vFragment.appendChild(vWidget.getElement());      };      // append all fragment data at once to      // the already visible parent widget element      vLazyQueue[0].getParent()._getTargetNode().appendChild(vFragment);      for (var i=0, l=vLazyQueue.length; i<l; i++)      {        vWidget = vLazyQueue[i];        vWidget._afterInsertDom();      };    }    else    {      // appending all widget elements (including previously added children)      // to the already visible parent widget element      for (var i=0, l=vLazyQueue.length; i<l; i++)      {        vWidget = vLazyQueue[i];        vWidget._beforeInsertDom();        vWidget.getParent()._getTargetNode().appendChild(vWidget.getElement());        vWidget._afterInsertDom();      };    };  };  /* -----------------------------------------------      Cleanup and appear signals  ----------------------------------------------- */  // Only need to do this with the lazy queues  // because through the recursion from qx.ui.core.Parent  // all others get also informed.  for (vKey in vLazyQueues)  {    vLazyQueue = vLazyQueues[vKey];    for (var i=0, l=vLazyQueue.length; i<l; i++)    {      vWidget = vLazyQueue[i];      if (vWidget.getVisibility()) {        vWidget._afterAppear();      };      // Reset display queue flag      delete vWidget._isInGlobalDisplayQueue;    };    delete vLazyQueues[vKey];  };  // Reset display queue flag for widgets in fastQueue  for (var i=0, l=vFastQueue.length; i<l; i++) {    delete vFastQueue[i]._isInGlobalDisplayQueue;  };  // Remove fast queue entries  qx.lang.Array.removeAll(vFastQueue);};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/Widget.js/clean/qooxdoo/source/script/qx/ui/core/Widget.js