rem: for(var x = this.start; x; x = XRai.nextElementTo(x,this.end,1)) { 
add: for(var x = this.start; x; x = XRai.nextElementTo(x,this.end)) { 
context:    this.unvalidate = function() {      if (debug) XRai.debug("* Unvalidating " + this.getPaths() + "\n");      this.validated = false;      // Update containers      if (debug) XRai.debug("Updating containers\n");      var lca = this.getLCA();//       XRai.removeContained(this,lca);//       XRai.removeAssessment(this.assessment);      // Remove assessments for intersection      var range = this.getContainer();      if (range) {         if (debug) XRai.debug("Removing intersections\n");         for(var x = range.start; x; x = XRai.nextElementTo(x,range.end,1)) {            XRai.removePassage(x,this,1);         }      } else XRai.removePassage(lca,this,1);      if (debug) XRai.debug("Removing inner elements\n");      for(var x = this.start; x; x = XRai.nextElementTo(x,this.end,1)) {         if (!XRai.isInDocument(x,1)) continue;         if (debug) XRai.debug("In " + XRai.getPath(x) + "\n");         for(var y = x; y && ((y == x) || XRai.isIn(y,x)); y = XRai.next(y,1)) {            if (!y.cAssessment) continue;            XRai.removeAssessment(y.cAssessment);         }      }      if (typeof this.saved != "undefined") {         XRai.assessmentsToRemove.push(this);         var oldvalue = this.validated ? Passage.VALIDATED : Passage.UNVALIDATED;         if (this.saved == oldvalue) XRai.changeCount++;      } else XRai.changeCount--;      XRai.firstOldPassage = this.remove(XRai.firstOldPassage);      if (debug) XRai.debug("*/ Unvalidated " + this.getPaths() + "\n");   }
meta: 8632	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8632/cd2cf370948170c5eff1bc7502a9d6cc67d4c140/article.js/buggy/trunk/js/article.js