fgnass/domino — Issue #1: ReferenceError: warn is not defined
Author: lessmind
Created: 2012-02-03 08:52:49+00:00
State: open

Hi, I'm trying to have a couple of test of domino, and when I use this module to parse a html which contains duplicated element id, domino try to warn me about that, then the following error occurred:

/path/to/node_modules/domino/lib/Document.js:521
warn('Duplicate element id ' + id)
^
ReferenceError: warn is not defined
at Object.addId (/home/nevermind/experiment/crawler/node_modules/domino/lib/Document.js:521:7)
at root (/home/nevermind/experiment/crawler/node_modules/domino/lib/Document.js:648:29)
at recursivelyRoot (/home/nevermind/experiment/crawler/node_modules/domino/lib/Document.js:667:3)
at Object. (/home/nevermind/experiment/crawler/node_modules/domino/lib/Document.js:491:5)
at HTMLInputElement.insert (/home/nevermind/experiment/crawler/node_modules/domino/lib/Node.js:394:37)
at HTMLFormElement. (/home/nevermind/experiment/crawler/node_modules/domino/lib/Node.js:97:11)
at insertElement (/home/nevermind/experiment/crawler/node_modules/domino/lib/HTMLParser.js:2517:17)
at insertHTMLElement (/home/nevermind/experiment/crawler/node_modules/domino/lib/HTMLParser.js:2500:5)
at in_body_mode (/home/nevermind/experiment/crawler/node_modules/domino/lib/HTMLParser.js:5608:19)
at insertToken (/home/nevermind/experiment/crawler/node_modules/domino/lib/HTMLParser.js:2418:7)

Would above messages helpful? Or I have to offer more informations?