MCPcopy Create free account
hub / github.com/idank/explainshell / restoreScript

Function restoreScript

explainshell/web/static/js/jquery.js:6212–6220  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

6210 return elem;
6211}
6212function restoreScript( elem ) {
6213 var match = rscriptTypeMasked.exec( elem.type );
6214 if ( match ) {
6215 elem.type = match[1];
6216 } else {
6217 elem.removeAttribute("type");
6218 }
6219 return elem;
6220}
6221
6222// Mark scripts as having already been evaluated
6223function setGlobalEval( elems, refElements ) {

Callers 1

fixCloneNodeIssuesFunction · 0.85

Calls 1

execMethod · 0.45

Tested by

no test coverage detected