MCPcopy Index your code
hub / github.com/JsAaron/jQuery / isDisconnected

Function isDisconnected

1.7/traversing.js:173–175  ·  view source on GitHub ↗
( node )

Source from the content-addressed store, hash-verified

171// A painfully simple check to see if an element is disconnected
172// from a document (should be improved, where feasible).
173function isDisconnected( node ) {
174 return !node || !node.parentNode || node.parentNode.nodeType === 11;
175}
176
177jQuery.each({
178 parent: function( elem ) {

Callers 1

traversing.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected