MatthewMueller/cheerio — pull request #258 by jugglinmike (2013-09-03 22:59:23+00:00)
Title: Refactor Cheerio array creation

Because so many of jQuery's methods accept "mixed" arrays, the array
normalization logic should be abstracted into a function that is shared
across the manipulation methods.

This approach is also slightly more efficient because it eliminates a
conditional in the heavily-used `evaluate` method.