toddmotto/echo — pull request #35 by rbhalla (2014-01-31 12:19:17+00:00)
Title: Fix throttle behaviour

Before, the default behaviour was for _pollImages to be only be called 250ms (assuming default throttle value) after you stopped scrolling. Essentially, you couldn't scroll over (or near) unloaded images and have them load in without stopping.

I modified how throttle works slightly, so now instead of calling _pollImages after you have stopped scrolling, it will now only call _pollImages immediately, and then is limited to being called every 250ms (again depending on default value there). This allows images to be loaded while you are scrolling while still ensuring you can control how often it is called.