Has jQuery 1.8 changed how .data() returns the value?
<p>Related question: <a href="http://stackoverflow.com/questions/12622812/stop-jquery-data-from-converting">Stop jQuery .data() from converting</a> </p>

<p>According to the documentation for <code>.data()</code>: </p>

<blockquote>
  <p>Every attempt is made to convert the string to a JavaScript value
  (this includes booleans, numbers, objects, arrays, and null) otherwise
  it is left as a string. To retrieve the value's attribute as a string
  without any attempt to convert it, use the attr() method</p>
</blockquote>

<p>This is true for jQuery 1.7.2, but 1.8.2 does not do the conversion. Is this the new expected behavior?</p>

<p>For example, with the HTML <code>&lt;div data-code-name="007"&gt;Bond, James&lt;/div&gt;</code></p>

<p>jQuery v1.7.2
<code>$("div").data("codeName")</code> returns 7
Example: <a href="http://jsfiddle.net/dMHS4/" rel="nofollow">http://jsfiddle.net/dMHS4/</a></p>

<p>jQuery v1.8.2
<code>$("div").data("codeName")</code> returns "007"
Example: <a href="http://jsfiddle.net/dMHS4/2/" rel="nofollow">http://jsfiddle.net/dMHS4/2/</a></p>
