jquery/jquery — pull request #852 by dmethvin (2012-07-11 01:35:05+00:00)
Title: Partial fix for #7579

Don't know if this is the best way to do the job, but the idea is to only do the numeric conversion if it won't lose precision. The situations where numeric conversion is actually desired are probably rare compared to ones like `data-longnum="123456789123456789"` that lose precision.

If it wasn't likely to break so much code I'd love to just have `data-` attributes always return strings. It seems too late to reverse this now. This just unbreaks a few more common cases.

Thoughts?