MCPcopy Create free account
hub / github.com/TruthHun/BookStack / restoreScript

Function restoreScript

static/wangEditor/js/lib/jquery-2.2.1.js:5146–5156  ·  view source on GitHub ↗
( elem )

Source from the content-addressed store, hash-verified

5144 return elem;
5145}
5146function restoreScript( elem ) {
5147 var match = rscriptTypeMasked.exec( elem.type );
5148
5149 if ( match ) {
5150 elem.type = match[ 1 ];
5151 } else {
5152 elem.removeAttribute( "type" );
5153 }
5154
5155 return elem;
5156}
5157
5158function cloneCopyEvent( src, dest ) {
5159 var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected