sstephenson/prototype — pull request #69 by victor-homyakov (2012-09-24 16:48:20+00:00)
Title: Prevent IE leaks

Without fix:

- when `ELEMENT_CACHE` is not empty (e.g. `SPAN` was created with `new Element('span'))`, IE will leak memory for `DIV` and `ELEMENT_CACHE` after page unload.
- when `ELEMENT_CACHE` is empty, `DIV` is cleaned correctly without any additional actions.

Problem detected and fix tested in sIEve-0.0.8.