From a2aefbf3b198620ae45d2451d21cc5bf96258a7d Mon Sep 17 00:00:00 2001 From: rwldrn Date: Tue, 5 Oct 2010 10:32:57 -0400 Subject: [PATCH] Fixes acceptData defining in the global scope. --- src/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.js b/src/data.js index 66d24c4..732e923 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); -- 1.7.10.4