rem: this.stockDealTargets = this.stacks; var i; for(i = 0;  i < 8;  i++) this.foundations[i].baseNumber = 2; for(i = 8;  i < 16; i++) this.foundations[i].baseNumber = 3; for(i = 16; i < 24; i++) this.foundations[i].baseNumber = 4; for(i = 0;  i < 8;  i++) this.foundations[i].row = 0; for(i = 8;  i < 16; i++) this.foundations[i].row = 1; for(i = 16; i < 24; i++) this.foundations[i].row = 2; for(i = 0; i < 24; i++) this.foundations[i].baseCardInPlace = function() { 
add: var f = this.foundations; for(var i = 0; i < 24; i++) f[i].baseCardInPlace = function() { 
context:   init: function() {    this.stockDealTargets = this.stacks;    var i;    for(i = 0;  i < 8;  i++) this.foundations[i].baseNumber = 2;    for(i = 8;  i < 16; i++) this.foundations[i].baseNumber = 3;    for(i = 16; i < 24; i++) this.foundations[i].baseNumber = 4;    for(i = 0;  i < 8;  i++) this.foundations[i].row = 0;    for(i = 8;  i < 16; i++) this.foundations[i].row = 1;    for(i = 16; i < 24; i++) this.foundations[i].row = 2;    for(i = 0; i < 24; i++) this.foundations[i].baseCardInPlace = function() {      return (this.hasChildNodes() && this.firstChild.number()==this.baseNumber);    };  }
meta: 3385	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3385/16cf1285aa3c691e959e2aabb4cbf0501cad4a97/mod3.js/buggy/mod3.js