rem: __makePile: function(ch) { const type = {p:"pile", f:"foundation", c:"cell", r:"reserve", w:"waste", s:"stock"}[ch]; const obj1 = this[type + "Type"]; const obj2 = this[type + "Layout"]; const arry = this.pilesByType[ch];  
add: __makePile: function(type, obj1, obj2, arry) { 
context:   __makePile: function(ch) {    const type = {p:"pile", f:"foundation", c:"cell", r:"reserve", w:"waste", s:"stock"}[ch];    const obj1 = this[type + "Type"]; // e.g. this.pileType    const obj2 = this[type + "Layout"]; // e.g. this.pileLayout    const arry = this.pilesByType[ch];        const p = createPile(type, obj1, obj2);    this.allpiles.push(p);    const len = arry ? arry.length : 0;    if(len) {      const prev = arry[len - 1];      prev.next = p;      p.prev = prev;    }    arry.push(p);    this[type] = p; // set this.stock, this.waste, etc; don't care about setting this.cell    // xxx ew!    const dropact = this.getActionForDrop;    if(p.getActionForDrop == Pile.getActionForDrop && dropact) p.getActionForDrop = dropact;    return p;  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/76838ffa1935fcad7cf2820100d0854425857cb8/cardgame.js/buggy/cardgame.js