rem: cht = chc.getLayoutHint() 
add: cht = chc.getLayoutHint(); 
context: proto._layoutInternalWidgetsVertical = function() {  var innerHeight = this.getInnerHeight();  if (innerHeight == 0) {    return;  };    var ch = this.getChildren();  var chl = ch.length;  var chc, cht;    var grouped = {    top : [],    bottom : [],    orthogonal : [],    auto : []  };    for (var i=0; i<chl; i++)   {    chc = ch[i];    cht = chc.getLayoutHint()        switch(cht)    {      case "top":      case "bottom":      case "auto":        grouped[cht].push(chc);        break;              case "left":      case "right":        grouped["orthogonal"].push(chc);        break;              default:        throw new Error("QxDockLayout does not support layout hint '" + cht + "' for child " + chc);    };  };    if (grouped.auto.length > 1) {    throw new Error("QxDockLayout can not handle multiple auto children!");  };    /*  -----------------------    TOP  -----------------------  */  var topList = grouped.top;  var topLength = topList.length;  var topLast = 0;      for (var i=0; i<topLength; i++)  {    chc = topList[i];        chc._applyPositionVertical(topLast);        topLast += this._prepareSizeValue(chc.getAnyHeight(), innerHeight, chc.getMinHeight(), chc.getMaxHeight());  };        /*  -----------------------    BOTTOM  -----------------------  */  var bottomList = grouped.bottom;  var bottomLength = bottomList.length;  var bottomLast = innerHeight;    for (var i=0; i<bottomLength; i++)  {    chc = bottomList[i];        bottomLast -= this._prepareSizeValue(chc.getAnyHeight(), innerHeight, chc.getMinHeight(), chc.getMaxHeight());    chc._applyPositionVertical(bottomLast);  };       /*  -----------------------    ORTHOGONAL AND AUTO  -----------------------  */  var otherList = grouped.orthogonal.concat(grouped.auto);  var otherSpace = Math.max(0, bottomLast - topLast);    for (var i=0, l=otherList.length; i<l; i++)  {    chc = otherList[i];        chc._applyPositionVertical(topLast);    chc._applySizeVertical(otherSpace);  };};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/bc20bc5368505d7f5587054ea00bd3cc7c350e5d/QxDockLayout.js/buggy/qooxdoo/source/script/widgets/QxDockLayout.js