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

Function restoreScript

libs/jquery-3.5.1/jquery-3.5.1.js:5991–5999  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5989 return elem;
5990}
5991function restoreScript( elem ) {
5992 if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) {
5993 elem.type = elem.type.slice( 5 );
5994 } else {
5995 elem.removeAttribute( "type" );
5996 }
5997
5998 return elem;
5999}
6000
6001function cloneCopyEvent( src, dest ) {
6002 var i, l, type, pdataOld, udataOld, udataCur, events;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected