MCPcopy
hub / github.com/apache/caldera / restoreScript

Function restoreScript

static/jquery/jquery.js:5904–5912  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5902 return elem;
5903}
5904function restoreScript( elem ) {
5905 var match = rscriptTypeMasked.exec( elem.type );
5906 if ( match ) {
5907 elem.type = match[ 1 ];
5908 } else {
5909 elem.removeAttribute( "type" );
5910 }
5911 return elem;
5912}
5913
5914function cloneCopyEvent( src, dest ) {
5915 if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) {

Callers 1

fixCloneNodeIssuesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected