rem: box.highlight = function(card) {  const box = card.boxObject; this.top = this._top = box.y - gGameStackTop; this.left = this._left = box.x - gGameStackLeft; if(card.isCard) { const box2 = card.parentNode.lastChild.boxObject; this.height = box2.y + box2.height - box.y; this.width = box.width; } else { this.height = gCardHeight; this.width = gCardWidth; } }; 
add: highlight: function(thing) { const card = thing instanceof Card ? thing : null; const pile = card ? card.pile : thing;  const view = pile.view, box = view.boxObject; const bounds = view.getHighlightBounds(card);  this.top = box.y - gGameStackTop + bounds.y; this.left = box.x - gGameStackLeft + bounds.x; this.width = bounds.width; this.height = bounds.height; }, 
context:   box.highlight = function(card) {    // card might be a pile really    const box = card.boxObject;    this.top = this._top = box.y - gGameStackTop;    this.left = this._left = box.x - gGameStackLeft;    if(card.isCard) {      const box2 = card.parentNode.lastChild.boxObject;      this.height = box2.y + box2.height - box.y;      this.width = box.width;    } else {      this.height = gCardHeight;      this.width = gCardWidth;    }  };
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/cdbe1fa71214ac8bfa5090f7dcac07fd0aa8204f/cardslib.js/buggy/cardslib.js