aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwldrn <waldron.rick@gmail.com>2010-10-05 10:32:57 -0400
committerrwldrn <waldron.rick@gmail.com>2010-10-05 10:32:57 -0400
commita2aefbf3b198620ae45d2451d21cc5bf96258a7d (patch)
tree17f839e68f7d2e28dd1c22b4c6a37eb8941fc83c
parent57c046f91cbc3caf174ecc993fe883c027340901 (diff)
downloadjquery-a2aefbf3b198620ae45d2451d21cc5bf96258a7d.tar.gz
jquery-a2aefbf3b198620ae45d2451d21cc5bf96258a7d.zip
Fixes acceptData defining in the global scope.
-rw-r--r--src/data.js2
1 files changed, 1 insertions, 1 deletions
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);