MCPcopy Index your code
hub / github.com/TruthHun/BookStack / acceptData

Function acceptData

static/jquery/1.12.4/jquery.js:3761–3771  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

3759 div = null;
3760} )();
3761var acceptData = function( elem ) {
3762 var noData = jQuery.noData[ ( elem.nodeName + " " ).toLowerCase() ],
3763 nodeType = +elem.nodeType || 1;
3764
3765 // Do not set data on non-element DOM nodes because it will not be cleared (#8335).
3766 return nodeType !== 1 && nodeType !== 9 ?
3767 false :
3768
3769 // Nodes accept data unless otherwise specified; rejection can be conditional
3770 !noData || noData !== true && elem.getAttribute( "classid" ) === noData;
3771};
3772
3773
3774

Callers 3

internalDataFunction · 0.70
internalRemoveDataFunction · 0.70
jquery.jsFile · 0.70

Calls 1

getAttributeMethod · 0.80

Tested by

no test coverage detected