add: } else {  var y = x; while (y && y.cAssessment) { if (debug) window.dump("Looking for passage (" + XRai.getPath(y) + ")\n"); if (y.passages && y.passages.length > 0) { for(var i = 0; i < y.passages.length; i++) { var p = y.passages[i]; if (XRai.isInRange(x,p.start, p.end)) { if (debug) window.dump(XRai.getPath(x) + " is in passage " + p.getPaths() + " with a = " + p.assessment.getAttribute("a") + "\n"); XRai.upwardCheck(p, olda, newa, p.assessment, updateOnly); } else if (debug) window.dump(XRai.getPath(x) + " is NOT in passage " + p.getPaths() + "\n"); } break; } else if (debug) window.dump(XRai.getPath(x) + " is not an intersection\n"); if (y.cAssessment.getAttribute("type") != "in") { if (debug) window.dump("We are not within a passage anymore:" + y.cAssessment.getAttribute("type") + "!\n"); break; } y = XRai.parent(y,1); } 
context: XRai.upwardUpdate = function(x, olda, newa, updateOnly, skip) {   if (!skip) {      window.dump("Updating (upward) " + XRai.getPath(x) + ": " + olda + " -> "  + newa + "\n");      XRai.upwardCheck(x, olda, newa, x.cAssessment, updateOnly);   }   // Go up   x = XRai.parent(x,1);   if (x) XRai.upwardUpdate(x, olda, newa, updateOnly, false);}
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/118a48a7c56edb8af49d2c17b204d65bb2149adb/article.js/clean/trunk/js/article.js