rem: /* if(action.synchronous && !this.autoplay()) { if(this.actionsDone.length==1) gCmdUndo.removeAttribute("disabled"); if(hadRedos) gCmdRedo.setAttribute("disabled","true"); if(this.redealsRemaining==0) gCmdRedeal.setAttribute("disabled","true"); } */ 
context:   doAction: function(action) {    this.actionsDone.push(action);    var hadRedos = this.actionsUndone.length!=0;    if(hadRedos) this.actionsUndone = [];    action.score = this.getScoreFor(action);    action.perform();    this.adjustScoreBy(action.score);    this.hintsReady = false;    // xxx yuck    if(GameController.haveFutureGames) GameController.clearFutureGames();    // asynch. (i.e. animated) actions will trigger autoplay themselves,    // and autoplay will trigger a UI update if it actually does anything    if(!action.synchronous) return;    disableUI();    setTimeout(animatedActionFinished, 30);/*    if(action.synchronous && !this.autoplay()) {      if(this.actionsDone.length==1) gCmdUndo.removeAttribute("disabled");      if(hadRedos) gCmdRedo.setAttribute("disabled","true");      if(this.redealsRemaining==0) gCmdRedeal.setAttribute("disabled","true"); // yuck.    }*/  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/05e21043701a5724e2c4368f9cf23b22050e0bda/cardgame.js/clean/cardgame.js