rem: for(i = 0; i < 96; i++) { 
add: for(i = 0; i != 96; i++) { 
context:   init: function() {    // get 2 decks less the aces    var cards = this.cards = getDecks(2);    cards.splice(91,1); cards.splice(78,1); cards.splice(65,1);    cards.splice(52,1); cards.splice(39,1); cards.splice(26,1);    cards.splice(13,1); cards.splice(0, 1);    // add useful properties to the cards    for(i = 0; i < 96; i++) {      // the row this card should end up in      cards[i].row = i % 3;      // a renumbering of cards so that all foundations are built 0,1,2,3,      // i.e. 2==0, 5==1, 8==2, J==3 in row 0, and similar in the other rows      cards[i].rowNum = Math.floor((cards[i].number-2) / 3);    }    // other useful things    var f = this.foundations;    for(var i = 0; i < 24; i++) f[i].baseCardInPlace = function() {      return (this.hasChildNodes() && this.firstChild.number==this.baseNumber);    };    this.rows = [f.slice(0,8),f.slice(8,16),f.slice(16,24)];    for(var j = 0; j != 3; j++) {      for(var k = 0; k != 8; k++) this.rows[j][k].baseNumber = j + 2;    }  },
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/15f3df693ddf02fb9ee6a2662189220868368b23/mod3.js/buggy/mod3.js