[Docs] Fixed JSDOM usage note

pull/419/head
Thomas Jaggi 7 years ago committed by Gijs
parent fa9d8bda48
commit fd1557560a

@ -48,7 +48,7 @@ Until [#346](https://github.com/mozilla/readability/issues/346) is fixed, if you
...
var dom = new JSDOM(html, OPTIONS);
Node = dom.window.Node;
var article = new Readability(uri, dom).parse();
var article = new Readability(uri, dom.window.document).parse();
```
### Optional

Loading…
Cancel
Save