MatthewMueller/cheerio — pull request #228 by jugglinmike (2013-06-24 22:38:12+00:00)
Title: Correct bug in jQuery.fn.closest

According to the jQuery documentation, the `closest` method should
operate on each element in the collection, and the result should not
contain duplicate elements.

This patch also ensures that the method always returns a valid Cheerio
object.