code: function(node, touchingIsIntersecting) {
              assertRangeValid(this);
              if (getRootContainer(node) != getRangeRoot(this)) {
                  return false;
              }
  
              var parent = node.parentNode, offset = getNodeIndex(node);
              if (!parent) {
                  return true;
              }
  
              var startComparison = comparePoints(parent, offset, this.endContainer, this.endOffset),
                  endComparison = comparePoints(parent, offset + 1, this.startContainer, this.startOffset);
  
              return touchingIsIntersecting ? startComparison <= 0 && endComparison >= 0 : startComparison < 0 && endComparison > 0;
          }
docs: touchingIsIntersecting determines whether this method considers a node that borders a range intersects with it (as in WebKit) or not (as in Gecko pre-1.9, and the default)