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

Function restoreScript

2.0.3/Dom.js:791–801  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

789 }
790
791 function restoreScript(elem) {
792 var match = rscriptTypeMasked.exec(elem.type);
793
794 if (match) {
795 elem.type = match[1];
796 } else {
797 elem.removeAttribute("type");
798 }
799
800 return elem;
801 }
802
803 // Mark scripts as having already been evaluated
804

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected