MCPcopy Index your code
hub / github.com/jquery/jquery / manipulationTarget

Function manipulationTarget

dist-module/jquery.factory.slim.module.js:5006–5014  ·  view source on GitHub ↗
( elem, content )

Source from the content-addressed store, hash-verified

5004
5005// Prefer a tbody over its parent table for containing new rows
5006function manipulationTarget( elem, content ) {
5007 if ( nodeName( elem, "table" ) &&
5008 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
5009
5010 return jQuery( elem ).children( "tbody" )[ 0 ] || elem;
5011 }
5012
5013 return elem;
5014}
5015
5016function cloneCopyEvent( src, dest ) {
5017 var type, i, l,

Callers 1

jQueryFactoryWrapperFunction · 0.70

Calls 2

nodeNameFunction · 0.70
jQueryFunction · 0.70

Tested by

no test coverage detected