tmpvar/jsdom — Issue #358: XPath not correctly included with level3/index.js
Author: morganrallen
Created: 2011-11-10 05:00:24+00:00
State: open

Currentl jsdom.dom.level3.xpath is undefined.

level3/index.js has xpath: require("xpath").xpath,

but xpath.js handles the exports as such (line 40)

xpath = exports;

Either the .xpath needs to be dropped from index.js
or
xpath needs to change line 40 to something like...

exports.xpath = xpath;