( elem )
| 4882 | |
| 4883 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 4884 | function disableScript( elem ) { |
| 4885 | elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; |
| 4886 | return elem; |
| 4887 | } |
| 4888 | function restoreScript( elem ) { |
| 4889 | var match = rscriptTypeMasked.exec( elem.type ); |
| 4890 |
nothing calls this directly
no outgoing calls
no test coverage detected