Skip to content

Commit

Permalink
new JSDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaut.sabot committed Apr 24, 2017
1 parent ff5c1e1 commit 228cfd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function globalJsdom (html, options) {
}

var jsdom = require('jsdom')
var document = jsdom.JSDOM(html, options)
var document = new jsdom.JSDOM(html, options)
var window = document.defaultView

KEYS.forEach(function (key) {
Expand Down

0 comments on commit 228cfd9

Please sign in to comment.