rem:  const cards = gFloatingPile; if(this._dragInProgress) { cards.top = cards._top = e.pageY - this._ty; cards.left = cards._left = e.pageX - this._tx; } else if(this._mouseNextCard) {   dump("move at ("+e.pageX+","+e.pageY+") on "+e.target.className+"\n"); const ex = e.pageX, ey = e.pageY, ex0 = this._ex0, ey0 = this._ey0; if(ex > ex0 - 5 && ex < ex0 + 5 && ey > ey0 - 5 && ey < ey0 + 5) return; dump("moved quite a bit\n");  const card = this._mouseNextCard;  cards.top = cards._top = card.boxObject.y - gGameStackTop; cards.left = cards._left = card.boxObject.x - gGameStackLeft; cards.source = card.parentNode.source; cards.addCards(card);  this._dragInProgress = true; this._tx = ex0 - cards._left; this._ty = ey0 - cards._top; this._mouseNextCard = null; } 
add: const fp = gFloatingPile, self = Game; fp.top = fp._top = e.pageY - self._ty; fp.left = fp._left = e.pageX - self._tx; 
context:   mouseMove: function(e) {//    dump("move\n");    const cards = gFloatingPile;    if(this._dragInProgress) {      cards.top = cards._top = e.pageY - this._ty;      cards.left = cards._left = e.pageX - this._tx;    } else if(this._mouseNextCard) {      // ignore very tiny movements of the mouse during a click      // (otherwise clicking without dragging is rather difficult on Mac)      dump("move at ("+e.pageX+","+e.pageY+") on "+e.target.className+"\n");      const ex = e.pageX, ey = e.pageY, ex0 = this._ex0, ey0 = this._ey0;      if(ex > ex0 - 5 && ex < ex0 + 5 && ey > ey0 - 5 && ey < ey0 + 5) return;      dump("moved quite a bit\n");      const card = this._mouseNextCard;//      cards.className = card.parentNode.className;      cards.top = cards._top = card.boxObject.y - gGameStackTop;      cards.left = cards._left = card.boxObject.x - gGameStackLeft;      cards.source = card.parentNode.source;      cards.addCards(card);      // other stuff      this._dragInProgress = true;      this._tx = ex0 - cards._left;      this._ty = ey0 - cards._top;      this._mouseNextCard = null;    }  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/9c50ed94fb7a3278a429c697fad783c8a4c23b9b/cardgame.js/clean/cardgame.js