Hacker News new | ask | show | jobs
by eli 5079 days ago
I thought binding to window.scroll was considered bad practice without something like this http://benalman.com/projects/jquery-throttle-debounce-plugin...
1 comments

Yes, you're quite right. There's also a light throttle snippet (function.prototype.throttle) here: http://supplementjs.com/
Neat, thanks for that link. I'm not a full time JS developer and I always feel like I'm a few steps behind everyone else.