MCPcopy Create free account
hub / github.com/kkroening/ffmpeg-python / remove

Function remove

doc/html/_static/jquery-3.2.1.js:5799–5818  ·  view source on GitHub ↗
( elem, selector, keepData )

Source from the content-addressed store, hash-verified

5797}
5798
5799function remove( elem, selector, keepData ) {
5800 var node,
5801 nodes = selector ? jQuery.filter( selector, elem ) : elem,
5802 i = 0;
5803
5804 for ( ; ( node = nodes[ i ] ) != null; i++ ) {
5805 if ( !keepData && node.nodeType === 1 ) {
5806 jQuery.cleanData( getAll( node ) );
5807 }
5808
5809 if ( node.parentNode ) {
5810 if ( keepData && jQuery.contains( node.ownerDocument, node ) ) {
5811 setGlobalEval( getAll( node, "script" ) );
5812 }
5813 node.parentNode.removeChild( node );
5814 }
5815 }
5816
5817 return elem;
5818}
5819
5820jQuery.extend( {
5821 htmlPrefilter: function( html ) {

Callers 1

jquery-3.2.1.jsFile · 0.85

Calls 2

getAllFunction · 0.85
setGlobalEvalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…