rem: var source = card.getSource(); var action = (target.isFoundation && !source.isFoundation) ? "move-to-foundation" : (source.isFoundation && !target.isFoundation) ? "move-from-foundation" : (source==this.waste) ? "move-from-waste" : "move-between-piles"; card.moveTo(target); this.trackMove(action, card, source); 
add: this.doAction(new MoveAction(card, card.getSource(), target)); 
context:   moveTo: function(card, target) {    var source = card.getSource();    var action =      (target.isFoundation && !source.isFoundation) ? "move-to-foundation" :      (source.isFoundation && !target.isFoundation) ? "move-from-foundation" :      (source==this.waste) ? "move-from-waste" :      "move-between-piles";    card.moveTo(target);    this.trackMove(action, card, source);    return true;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/0cba6dcc760eeefa28646ee9b3c9f46eaff0a7de/cardgame.js/buggy/cardgame.js