Modernizr/Modernizr — pull request #978 by patrickkettner (2013-06-16 15:58:56+00:00)
Title: Updated the toDataURL test to completly fix #186

This adds another test (todataurl) to check if any of the formats are
supported, it also DRYs up the code a bit by abstracting the nearly
identical tests into a function.