Evan Tseng
|
a762f8c3be
|
Merge pull request #342 from evanxd/bug-1332236
Bug 1332236 - Add tests for cnet.com, r=Gijs
|
8 years ago |
Evan Tseng
|
ad13a63065
|
Bug 1332236 - Add tests for cnet.com, r=Gijs
|
8 years ago |
Gijs Kruitbosch
|
2b28d6022f
|
Merge branch 'Treora-commonjs'
|
8 years ago |
Gijs Kruitbosch
|
f1797fcf7e
|
Merge branch 'commonjs' of https://github.com/Treora/readability into Treora-commonjs
|
8 years ago |
Gerben
|
43c54e8a71
|
Fix tiny mistake (typeof dump !== 'undefined')
|
8 years ago |
Evan Tseng
|
e1c7170d85
|
Merge pull request #309 from evanxd/bug-1167568
Bug 1167568 - Find a better topCandidate if there are other nodes scores are high enough, r=Gijs
|
8 years ago |
Evan Tseng
|
131d923d38
|
Bug 1167568 - Find a better topCandidate if there are other nodes scores are high enough, r=Gijs
|
8 years ago |
Gerben
|
d63576be0f
|
CommonJS support: set module.exports = Readability
|
8 years ago |
Evan Tseng
|
cec7d90a14
|
Merge pull request #336 from gijsk/remove-ews-hack
Remove hack for EWS content management system, r=evanxd
|
8 years ago |
Gijs
|
0d3043dacb
|
Remove hack for EWS content management system
Per issue #322
|
8 years ago |
Sebastian Hengst
|
5e9c7a3910
|
Bug 1322327 - Only remove images which are not descendants of a figure if there is more than one image, update affected tests
|
8 years ago |
andrei-ch
|
c5ff44d8fe
|
Clean <input>,<textarea>,<select>,<button> elements
|
8 years ago |
Evan Tseng
|
a34d054f45
|
Merge pull request #332 from gijsk/fix-readability-determination-in-generate-testcase
Use jsdom for parsing the document to determine readability (fixes #325), r=evanxd
|
8 years ago |
Evan Tseng
|
c83826c326
|
Merge pull request #329 from evanxd/bug-1142312
Bug 1142312 - Add two more types of unlikely candidates: cover-wrap and yom-remote, r=Gijs
|
8 years ago |
Evan Tseng
|
63230a307a
|
Bug 1142312 - Add two more types of unlikely candidates: cover-wrap and yom-remote, r=Gijs
|
8 years ago |
Gijs Kruitbosch
|
46842048c1
|
Use jsdom for parsing the document to determine readability (fixes #325)
|
8 years ago |
andrei-ch
|
4a0d08c56a
|
font-to-span conversion skips half the font elements on 'real' DOMs
|
8 years ago |
Gijs Kruitbosch
|
0ab4ac8556
|
Fix test failures caused by timeout still being too low
|
8 years ago |
Evan Tseng
|
e84c0c3f07
|
Bug 1285543 - Only use "og:title" or "twitter:title" if _getArticleTitle does not return a valid title, r=Gijs
|
8 years ago |
Gijs
|
c2f7db51f5
|
Remove textContent from metadata file (fixes #324) (#326)
|
8 years ago |
Evan Tseng
|
33dc8fa023
|
Bug 1255978 - Remove legends candidate, r=Gijs
|
8 years ago |
Evan Tseng
|
af0aa5c59f
|
Bug 1173548 - Find out text direction from ancestors of final candidate, r=Gijs
|
8 years ago |
Evan Tseng
|
ece0d1ecea
|
Bug 1317930 - Tests for msn.com, r=Gijs
|
8 years ago |
Evan Tseng
|
1b694cf650
|
Bug 1310075 - Tests for qq.com. r=Gijs
|
8 years ago |
Gijs Kruitbosch
|
ac878bf7c1
|
Move to .eslintrc.js file
|
8 years ago |
Evan Tseng
|
522f39617f
|
Bug 1310074 - Tests for yahoo.com. r=Gijs
|
8 years ago |
Evan Tseng
|
4fa0d1b207
|
Bug 1177619 - Score div nodes which have br nodes. r=Gijs
|
8 years ago |
Evan Tseng
|
8bfd2a978d
|
Bug 1310073 - Tests for wikipedia.org. r=Gijs
|
8 years ago |
Taylor Hunt
|
71aa562387
|
Add microformats2 class names to heuristics (#303)
Microformats updated their old `hentry` to [a newer
`h-entry`](http://microformats.org/wiki/h-entry).
With the [number of IndieWeb sites breaking into the
ten-thousands](http://tantek.com/2016/190/b1/state-of-indieweb-summit),
this seems like a fair idea.
|
8 years ago |
Gijs
|
1a12befa41
|
Fix code style, tighten up eslint rules (#301)
|
8 years ago |
Ivan Persidsky
|
fd11f92adb
|
Use a dedicated method and backward iteration for removing nodes (#300)
This improves compat with "real" DOMs that provide a live NodeList as the return value of getElementsByTagName.
|
8 years ago |
Gijs Kruitbosch
|
140d4c4aca
|
Only compute textContent once.
|
9 years ago |
usergit
|
327bfcb93f
|
exposed textContent to be returned
this returns the text content only, this is useful as it allows the content to be easily accessible
|
9 years ago |
Gijs
|
69b81f5d70
|
Fix #287: convert getElementsByTagName result to an array (#288)
|
9 years ago |
Margaret Leibovic
|
c3c91a739b
|
Merge pull request #278 from gijsk/simplyfound-hidden-modal-dialog
Address issue #277 by marking 'modal' unlikely+negative
|
9 years ago |
Gijs Kruitbosch
|
46b08a5ea5
|
Address issue #277 by marking 'modal' unlikely+negative
|
9 years ago |
Gijs
|
fcc645019f
|
Merge pull request #275 from pdehaan/issue-273-no-inner-declarations
Add 'no-inner-declarations' rule to .eslintrc
|
9 years ago |
Peter deHaan
|
1842b5ee12
|
Add 'no-inner-declarations' rule to .eslintrc
|
9 years ago |
Gijs
|
5e6d85cd3d
|
Merge pull request #274 from pdehaan/issue-273
Convert nested function declaration to function expression to avoid strict warning
|
9 years ago |
Peter deHaan
|
b380917b4b
|
Convert nested function declaration to function expression
|
9 years ago |
Gijs
|
c2394da2d9
|
Fix #272 by not using 'location' as a variable
... because it writes to window.location when used in a browser context, which is a bad idea. Using 'loc' instead fixes this.
|
9 years ago |
Gijs
|
edfe703a41
|
Merge pull request #270 from gijsk/redeclared-vars
Fix eslint issues identified in m-c and enable automatic linting on travis
|
9 years ago |
Gijs Kruitbosch
|
7579ac4ea8
|
Enable linting through travis
|
9 years ago |
Gijs Kruitbosch
|
a4d1e9ca12
|
Fix oversight in comment removal code exposed by better/newer jsdom implementation
|
9 years ago |
Gijs Kruitbosch
|
e830ac9dd8
|
Fix eslint issues identified in m-c
|
9 years ago |
Gijs
|
e2974ca825
|
Merge pull request #268 from gijsk/dont-mangle-hash-links
Fix issue #267 by ignoring hash URIs when making URIs absolute
|
9 years ago |
Gijs Kruitbosch
|
dffa760c04
|
Fix issue #267 by ignoring hash URIs when making URIs absolute
|
9 years ago |
Gijs
|
7be3ccb57e
|
Merge pull request #262 from gijsk/bbc-script-testcase
Reuse test from pull request #239 which passes without modifications …
|
9 years ago |
Wes Johnston
|
f87a12400b
|
Reuse test from pull request #239 which passes without modifications (modified by @gijsk to pass in the current XHTML test environment)
|
9 years ago |
Gijs
|
b1d360168b
|
Merge pull request #252 from gijsk/fix-delayed-closing-tags
Fix issue #251 by making JSDOMParser deal with non-self-closed-things
|
9 years ago |