Skip to content

Commit

Permalink
2.0.6-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander.farkas committed Oct 29, 2016
1 parent d9bff74 commit 68fe25c
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 34 deletions.
8 changes: 5 additions & 3 deletions lazysizes-umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
var running;
var lastTime = 0;
var gDelay = 125;
var RIC_DEFAULT_TIMEOUT = 999;
var RIC_DEFAULT_TIMEOUT = 666;
var rICTimeout = RIC_DEFAULT_TIMEOUT;
var run = function(){
running = false;
Expand All @@ -172,7 +172,7 @@
return function(isPriority){
var delay;
if((isPriority = isPriority === true)){
rICTimeout = 66;
rICTimeout = 44;
}

if(running){
Expand Down Expand Up @@ -541,7 +541,9 @@
setTimeout(onload, 20000);
}

throttledCheckElements(lazyloadElems.length > 0);
if(lazyloadElems.length){
checkElements();
}
},
checkElems: throttledCheckElements,
unveil: unveilElement
Expand Down
4 changes: 2 additions & 2 deletions lazysizes-umd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions lazysizes.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
var running;
var lastTime = 0;
var gDelay = 125;
var RIC_DEFAULT_TIMEOUT = 999;
var RIC_DEFAULT_TIMEOUT = 666;
var rICTimeout = RIC_DEFAULT_TIMEOUT;
var run = function(){
running = false;
Expand All @@ -170,7 +170,7 @@
return function(isPriority){
var delay;
if((isPriority = isPriority === true)){
rICTimeout = 66;
rICTimeout = 44;
}

if(running){
Expand Down Expand Up @@ -539,7 +539,9 @@
setTimeout(onload, 20000);
}

throttledCheckElements(lazyloadElems.length > 0);
if(lazyloadElems.length){
checkElements();
}
},
checkElems: throttledCheckElements,
unveil: unveilElement
Expand Down
Loading

0 comments on commit 68fe25c

Please sign in to comment.