MCPcopy Create free account
hub / github.com/CreateJS/SoundJS / removeObjectInIE

Function removeObjectInIE

lib/flashaudioplugin-NEXT.js:527–537  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

525 }
526
527 function removeObjectInIE(id) {
528 var obj = getElementById(id);
529 if (obj) {
530 for (var i in obj) {
531 if (typeof obj[i] == "function") {
532 obj[i] = null;
533 }
534 }
535 obj.parentNode.removeChild(obj);
536 }
537 }
538
539 /* Functions to optimize JavaScript compression
540 */

Callers 1

removeSWFFunction · 0.70

Calls 1

getElementByIdFunction · 0.70

Tested by

no test coverage detected