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

Function restoreScript

2.0.3/2.0.3.js:6024–6034  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

6022 return elem;
6023 }
6024 function restoreScript( elem ) {
6025 var match = rscriptTypeMasked.exec( elem.type );
6026
6027 if ( match ) {
6028 elem.type = match[ 1 ];
6029 } else {
6030 elem.removeAttribute("type");
6031 }
6032
6033 return elem;
6034 }
6035
6036// Mark scripts as having already been evaluated
6037 function setGlobalEval( elems, refElements ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected