Skip to content

Commit

Permalink
fixing memory leaks in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonaaron committed Apr 21, 2009
1 parent 4130319 commit 92a076c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@
jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;
document.body.removeChild( div ).style.display = 'none';
});

// release memory in IE
root = script = div = all = a = null;
})();

jQuery.props = {
Expand Down

0 comments on commit 92a076c

Please sign in to comment.