Gijs Kruitbosch
512e1c18a7
Update to latest JSDOM
2018-12-29 18:22:14 +00:00
Gijs Kruitbosch
2620542dd1
Split off isProbablyReaderable implementation
2018-12-29 18:22:14 +00:00
David A Roberts
acfd3759a1
Generate XHTML-compatible input for test cases
...
Fixes the bug noted in the README
2018-04-28 22:28:16 +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
bfd14522c4
Update eslint to try to fix issues on infra
2017-07-17 13:08:19 +01:00
Gijs
264946aa15
Require Node >=6.5 to have .includes
available
...
Per #382 and http://node.green/ , 6.5 should be necessary/sufficient.
2017-07-17 11:54:22 +01:00
Gijs Kruitbosch
7579ac4ea8
Enable linting through travis
2016-03-10 15:09:36 +00:00
Brendan Long
c59a054f78
Fix package.json's license to be in SPDX format ("Apache-2.0").
...
See: https://docs.npmjs.com/files/package.json#license
2015-11-16 15:03:01 -05:00
Nicolas Perriault
de89036cd5
Fixes #130 - Using js-beautify for HTML formatting.
2015-04-21 10:30:48 +02:00
Nicolas Perriault
360c648579
Fixed broken benchmark reporter code, moved benchmark code to its own folder.
2015-04-02 15:43:09 +02:00
Gijs Kruitbosch
02b7db3f7e
Add benchmark for readability itself instead of just JSDOMParser, add averages so the results are scannable.
2015-04-02 13:12:10 +01:00
Nicolas Perriault
2bfa678cab
Added separate command for reference benchmark.
2015-04-01 22:35:06 +01:00
Nicolas Perriault
1e14d47bb7
Added benchmarks.
2015-04-01 21:58:42 +02:00
Gijs Kruitbosch
f9e770ad3b
Write a bunch of tests for jsdomparser
2015-03-20 10:32:28 -07:00
David Bruant
3f16d5bd92
Update package.json
2015-03-20 16:48:34 +01:00
Gijs Kruitbosch
1c42f29aa5
Create a script to generate testcases, actually use our version of JSDOMParser
2015-03-19 10:10:42 -07:00
Nicolas Perriault
7da6e82fec
Switched to using jsdom for tests.
2015-03-18 18:49:36 +01:00
Nicolas Perriault
99f338a03a
Added logging to test output.
2015-03-17 22:42:59 +01:00
Nicolas Perriault
3bef3e7029
Added basic functional test + travis setup.
2015-03-16 15:12:10 +01:00