Browse Source

incremental for loop

pull/25/head
Christian Fei 11 years ago
parent
commit
61092f9508
  1. 2
      src/echo.js

2
src/echo.js

@ -10,7 +10,7 @@ window.Echo = (function (window, document, undefined) {
};
var _pollImages = function () {
for (var i = store.length; i--;) {
for (var i = 0, l = store.length; i < l; i++;) {
var self = store[i];
if (_inView(self)) {
self.src = self.getAttribute('data-echo');

Loading…
Cancel
Save