Sha256: 076580740fa8e63cdb21a9371e48e183aa9a8e572374c9c55f8a5308499aaa1c
Contents?: true
Size: 567 Bytes
Versions: 6
Compression:
Stored size: 567 Bytes
Contents
define([ "../core" ], function( jQuery ) { /** * Determines whether an object can have data */ jQuery.acceptData = function( elem ) { var noData = jQuery.noData[ (elem.nodeName + " ").toLowerCase() ], nodeType = +elem.nodeType || 1; // Do not set data on non-element DOM nodes because it will not be cleared (#8335). return nodeType !== 1 && nodeType !== 9 ? false : // Nodes accept data unless otherwise specified; rejection can be conditional !noData || noData !== true && elem.getAttribute("classid") === noData; }; return jQuery.acceptData; });
Version data entries
6 entries across 6 versions & 3 rubygems