Commit Graph

6 Commits

Author SHA1 Message Date
Gijs
f33a6c2a23
Switch to a newer node.js to fix build issues (#551) 2019-07-15 14:53:42 +01:00
Gijs Kruitbosch
d598baf02b Improve URL handling in JSDOMParser and Readability.js
This change ups the required node version to 7.0 because it relies on the builtin url module.

We now pass a url when constructing a jsdom document or JSDOMParser document.
Because this is an API change, I'm increasing the package version.

Ultimately, I would like to remove the  argument from the readability constructor. It should
use the documentURI from the document it is passed.
2018-02-28 11:29:29 +00:00
Gijs
f6443ed18b Match node version from package.json in travis.yml 2017-07-17 12:49:57 +01:00
Evan Tseng
131d923d38 Bug 1167568 - Find a better topCandidate if there are other nodes scores are high enough, r=Gijs 2017-01-17 11:29:57 +08:00
Gijs Kruitbosch
7579ac4ea8 Enable linting through travis 2016-03-10 15:09:36 +00:00
Nicolas Perriault
3bef3e7029 Added basic functional test + travis setup. 2015-03-16 15:12:10 +01:00