MCPcopy Create free account
hub / github.com/OpenIntroStat/ims / restoreScript

Function restoreScript

libs/jquery-3.5.1/jquery-2.2.4.js:5152–5162  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5150 return elem;
5151}
5152function restoreScript( elem ) {
5153 var match = rscriptTypeMasked.exec( elem.type );
5154
5155 if ( match ) {
5156 elem.type = match[ 1 ];
5157 } else {
5158 elem.removeAttribute( "type" );
5159 }
5160
5161 return elem;
5162}
5163
5164function cloneCopyEvent( src, dest ) {
5165 var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected