User:Thparkth/CommentsInLocalTime.js: Difference between revisions

Content deleted Content added
debug
Tag: Reverted
debug
Tag: Reverted
Line 199:
var result = LocalComments.parseRegExp.exec(prefixNode.data);
if (!result) continue;
console.log("iter.nextNode() CONTINUE");
// Split out the timestamp into a separate text node.
var dateNode = prefixNode.splitText(result.index);
Line 212:
}
if (!then.isValid()) continue;
console.log("iter.nextNode() CONTINUE 2");
then.utcOffset(-LocalComments.utcOffset);