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

Function restoreScript

2.1.1/test/jquery-2.1.1.js:4933–4943  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

4931 return elem;
4932}
4933function restoreScript( elem ) {
4934 var match = rscriptTypeMasked.exec( elem.type );
4935
4936 if ( match ) {
4937 elem.type = match[ 1 ];
4938 } else {
4939 elem.removeAttribute("type");
4940 }
4941
4942 return elem;
4943}
4944
4945// Mark scripts as having already been evaluated
4946function setGlobalEval( elems, refElements ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected