( elem )
| 5365 | |
| 5366 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 5367 | function disableScript( elem ) { |
| 5368 | elem.type = (jQuery.find.attr( elem, "type" ) !== null) + "/" + elem.type; |
| 5369 | return elem; |
| 5370 | } |
| 5371 | function restoreScript( elem ) { |
| 5372 | var match = rscriptTypeMasked.exec( elem.type ); |
| 5373 | if ( match ) { |
no outgoing calls
no test coverage detected