( elem )
| 4927 | |
| 4928 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 4929 | function disableScript( elem ) { |
| 4930 | elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; |
| 4931 | return elem; |
| 4932 | } |
| 4933 | function restoreScript( elem ) { |
| 4934 | var match = rscriptTypeMasked.exec( elem.type ); |
| 4935 |
nothing calls this directly
no outgoing calls
no test coverage detected