Content deleted Content added
just the regexp |
verbose loop breakout |
||
Line 194:
function wrapTimestamps() {
var prefixNode;
var loopEscapeCounter = 0; // we'll break out if the while loop runs more than
while ((prefixNode = iter.nextNode())) {
if (loopEscapeCounter++ >
console.log("ERROR: CommentsInLocalTime.js loop breakout in wrapTimestamps()");
break;
}
var result = LocalComments.parseRegExp.exec(prefixNode.data);
if (!result) continue;
|