isaacs/sax-js — pull request #125 by clockworked247 (2014-06-07 15:52:44+00:00)
Title: stand-alone comment parser fix

Addresses issue https://github.com/isaacs/sax-js/issues/124

Failure trigger for "Unclosed root tag" in end() assumes a root has been seen. Fix adds a check to ensure a root has in fact been seen (sawRoot). This fixes the stand-alone comment issues as filed in issue # 124 as the comment contains no root.