( elem )
| 6018 | |
| 6019 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 6020 | function disableScript( elem ) { |
| 6021 | elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; |
| 6022 | return elem; |
| 6023 | } |
| 6024 | function restoreScript( elem ) { |
| 6025 | var match = rscriptTypeMasked.exec( elem.type ); |
| 6026 |
nothing calls this directly
no outgoing calls
no test coverage detected