Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<a href="https://travis-ci.org/cheeriojs/cheerio">
<img src="https://travis-ci.org/cheeriojs/cheerio.svg?branch=main" alt="Travis CI" />
</a>
<a href="https://coveralls.io/r/cheeriojs/cheerio">
<a href="https://coveralls.io/github/cheeriojs/cheerio">
<img src="https://img.shields.io/coveralls/cheeriojs/cheerio.svg?branch=main&style=flat" alt="Coverage" />
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking, might be worth switching to shields.io for all badges; less domains, less DNS lookups and consistency will be enforced. What do you think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! The repo isn't an issue as Github proxies all images anyway, but this might be a nice thing to do for the website.

</a>
<a href="https://gitter.im/cheeriojs/cheerio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge">
Expand Down
4 changes: 2 additions & 2 deletions lib/static.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ exports.root = function () {
*
* @param {Node} container - Potential parent node.
* @param {Node} contained - Potential child node.
* @see {@link https://api.jquery.com/jQuery.contains}
* @see {@link https://api.jquery.com/jQuery.contains/}
*
* @alias Cheerio.contains
* @returns {boolean} Indicates if the nodes contain one another.
Expand Down Expand Up @@ -250,7 +250,7 @@ exports.contains = function (container, contained) {
*
* @param {Array | Cheerio} arr1 - First array.
* @param {Array | Cheerio} arr2 - Second array.
* @see {@link https://api.jquery.com/jQuery.merge}
* @see {@link https://api.jquery.com/jQuery.merge/}
*
* @alias Cheerio.merge
* @returns {Array | Cheerio} `arr1`, with elements of `arr2` inserted.
Expand Down