Permalink
Browse files

Merge pull request #13 from hickford/master

Export select at root
  • Loading branch information...
harryf committed Mar 14, 2018
2 parents 6b983b5 + 80802a9 commit f051306d5798f638fdaf281f22e657ed9d7f9e1b
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/soupselect.js
View
@@ -52,7 +52,7 @@ the provided selector against. The returned value is also
a valid dom tree, so can be passed by into
htmlparser.DomUtil.* calls
*/
-exports.select = function(dom, selector) {
+exports = exports.select = function(dom, selector) {
var currentContext = [dom];
var found, tag, options;

0 comments on commit f051306

Please sign in to comment.