fixing a few more memory leaks in IE

This commit is contained in:
Brandon Aaron 2009-04-22 20:00:30 +00:00
parent 432ea4ca6c
commit 1bd4325cb9
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,8 @@ jQuery.offset = {
body.removeChild( container );
jQuery.offset.initialize = function(){};
body = container = innerDiv = checkDiv = table = td = null;
},
bodyOffset: function(body) {

View File

@ -88,10 +88,11 @@
document.body.appendChild( div );
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
document.body.removeChild( div ).style.display = 'none';
div = null;
});
// release memory in IE
div = null;
root = script = div = all = a = null;
})();
jQuery.props = {