MCPcopy Create free account
hub / github.com/unconed/TermKit / isDisconnected

Function isDisconnected

HTML/jquery.js:5296–5298  ·  view source on GitHub ↗
( node )

Source from the content-addressed store, hash-verified

5294// A painfully simple check to see if an element is disconnected
5295// from a document (should be improved, where feasible).
5296function isDisconnected( node ) {
5297 return !node || !node.parentNode || node.parentNode.nodeType === 11;
5298}
5299
5300jQuery.each({
5301 parent: function( elem ) {

Callers 1

jquery.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected