From: rwldrn Date: Tue, 5 Oct 2010 14:32:57 +0000 (-0400) Subject: Fixes acceptData defining in the global scope. X-Git-Tag: 1.4.3rc1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F34%2Fhead;p=jquery.git Fixes acceptData defining in the global scope. --- diff --git a/src/data.js b/src/data.js index 66d24c42a..732e9233b 100644 --- a/src/data.js +++ b/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);