rem: if (olda > 0) { x.statistics[olda]--; window.dump(" For " + olda + " => " + x.statistics[olda] + "\n"); } if (newa > 0) { x.statistics[newa]++; window.dump(" For " + newa + " => " + x.statistics[newa] + "\n"); } 
add: if (olda > 0) { x.statistics[olda]--; if (debug) window.dump(" For " + olda + " => " + x.statistics[olda] + "\n"); } if (newa > 0) { x.statistics[newa]++; if (debug) window.dump(" For " + newa + " => " + x.statistics[newa] + "\n"); } 
context: XRai.upwardCheck = function(x,olda, newa, ca,updateOnly) {   if (!x.statistics) {      x.statistics = new Array();      for(var i = 0; i <= max_exhaustivity; i++) x.statistics.push(0);   }   if (olda > 0) { x.statistics[olda]--; window.dump(" For " + olda + " => " + x.statistics[olda] + "\n"); }   if (newa > 0) { x.statistics[newa]++; window.dump(" For " + newa + " => " + x.statistics[newa] + "\n"); }      // Check for reset   if (ca && !updateOnly) {      var a = ca.getAttribute("a");         // Did it break support?      if (olda >= a && newa < a) {         var f = false;         for(var i = a; i <= max_exhaustivity && !f; i++)         if (x.statistics[i] > 0) f = true;         if (!f) XRai.setAssessment(ca,"0");      } else if (newa > a) {         XRai.setAssessment(ca,newa);      }   }}
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/118a48a7c56edb8af49d2c17b204d65bb2149adb/article.js/clean/trunk/js/article.js