MCPcopy Create free account
hub / github.com/JsAaron/jQuery / restoreScript

Function restoreScript

2.1.1/test/jquery-1.11.1.js:5371–5379  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5369 return elem;
5370}
5371function restoreScript( elem ) {
5372 var match = rscriptTypeMasked.exec( elem.type );
5373 if ( match ) {
5374 elem.type = match[1];
5375 } else {
5376 elem.removeAttribute("type");
5377 }
5378 return elem;
5379}
5380
5381// Mark scripts as having already been evaluated
5382function setGlobalEval( elems, refElements ) {

Callers 1

fixCloneNodeIssuesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected