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

Function manipulationTarget

2.0.3/Dom.js:775–782  ·  view source on GitHub ↗
(elem, content)

Source from the content-addressed store, hash-verified

773 // Manipulating tables requires a tbody
774
775 function manipulationTarget(elem, content) {
776 return jQuery.nodeName(elem, "table") &&
777 jQuery.nodeName(content.nodeType === 1 ? content : content.firstChild, "tr") ?
778
779 elem.getElementsByTagName("tbody")[0] ||
780 elem.appendChild(elem.ownerDocument.createElement("tbody")) :
781 elem;
782 }
783
784 // Replace/restore the type attribute of script elements for safe DOM manipulation
785

Callers 1

Dom.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected