MCPcopy Create free account
hub / github.com/frank-lam/fullstack-tutorial / restoreScript

Function restoreScript

notes/docsify/unpkg/gotop/jquery-2.1.0.js:4888–4898  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

4886 return elem;
4887}
4888function restoreScript( elem ) {
4889 var match = rscriptTypeMasked.exec( elem.type );
4890
4891 if ( match ) {
4892 elem.type = match[ 1 ];
4893 } else {
4894 elem.removeAttribute("type");
4895 }
4896
4897 return elem;
4898}
4899
4900// Mark scripts as having already been evaluated
4901function setGlobalEval( elems, refElements ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected