toddmotto/echo — pull request #46 by raphaeleidus (2014-05-10 23:58:28+00:00)
Title: load when in viewport #45

implementation for #45

I moved the viewport calculation into the `_pollImages` function so that it will only calculate once per debounced scroll event trigger, rather than once for every single image.