Skip to content
Permalink
Browse files

Fixes acceptData defining in the global scope.

  • Loading branch information...
rwaldron committed Oct 5, 2010
1 parent 57c046f commit a2aefbf3b198620ae45d2451d21cc5bf96258a7d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/data.js
@@ -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);

0 comments on commit a2aefbf

Please sign in to comment.
You can’t perform that action at this time.