hakimel/Scroll-Effects — pull request #3 by fgnass (2012-04-15 13:17:05+00:00)
Title: Remove the WeakMap dependency

I simplified @paulirish's code by removing the WeakMap dependency. OffsetTop and offsetHeight are now cached as properties of the list items instead. Since we only caches numeric values this doesn't leak any memory and is equally fast.