Skip to content

Commit

Permalink
Fixes acceptData defining in the global scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Oct 5, 2010
1 parent 57c046f commit a2aefbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.js
Expand Up @@ -121,7 +121,7 @@ jQuery.extend({
// A method for determining if a DOM node can handle the data expando
acceptData: function( elem ) {
if ( elem.nodeName ) {
match = jQuery.noData[ elem.nodeName.toLowerCase() ];
var match = jQuery.noData[ elem.nodeName.toLowerCase() ];

if ( match ) {
return !(match === true || elem.getAttribute("classid") !== match);
Expand Down

0 comments on commit a2aefbf

Please sign in to comment.