mkxml / scroll-proxy

:scroll: Easy scroll handling. Zero dependencies. ~2kb gzipped.
http://mkautzmann.github.io/scroll-proxy
MIT License
46 stars 4 forks source link

Solve ScrollProxy.clean() bug when removing two different targets #5

Closed mkxml closed 8 years ago

mkxml commented 8 years ago

There is an annoying bug on the ScrollProxy.clean function that inhibits the elimination of all the targets. Solve that and add a proper test.