( elem )
| 5146 | |
| 5147 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 5148 | function disableScript( elem ) { |
| 5149 | elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; |
| 5150 | return elem; |
| 5151 | } |
| 5152 | function restoreScript( elem ) { |
| 5153 | var match = rscriptTypeMasked.exec( elem.type ); |
| 5154 |
nothing calls this directly
no outgoing calls
no test coverage detected