Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added back object cleanup for explorer

  • Loading branch information...
commit e4f9009e03cecfffb16a1bab004dccd187d058f0 1 parent 6a0decd
@kamicane kamicane authored kassens committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/Element/Element.js
View
6 Source/Element/Element.js
@@ -218,6 +218,12 @@ var clean = function(item){
if (Browser.Engine.trident){
if (item.clearAttributes) item.clearAttributes();
else if (item.removeEvents) item.removeEvents();
+ if ((/object/i).test(item.tagName)){
+ for (var p in item){
+ if (typeof item[p] == 'function') item[p] = $empty;
+ }
+ Element.dispose(item);
+ }
}
var uid = item.uid;
if (!uid) return;
Please sign in to comment.
Something went wrong with that request. Please try again.