( elem )
| 5898 | |
| 5899 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 5900 | function disableScript( elem ) { |
| 5901 | elem.type = ( jQuery.find.attr( elem, "type" ) !== null ) + "/" + elem.type; |
| 5902 | return elem; |
| 5903 | } |
| 5904 | function restoreScript( elem ) { |
| 5905 | var match = rscriptTypeMasked.exec( elem.type ); |
| 5906 | if ( match ) { |
no outgoing calls
no test coverage detected