Add polyfills to fix errors and ignore conditional lines
This commit is contained in:
parent
3c2bba3418
commit
0c2cdfe741
17 changed files with 129 additions and 20 deletions
|
@ -4,10 +4,6 @@ define(['visibleinviewport', 'dom', 'browser'], function (visibleinviewport, dom
|
|||
var thresholdX;
|
||||
var thresholdY;
|
||||
|
||||
var requestIdleCallback = window.requestIdleCallback || function (fn) {
|
||||
fn();
|
||||
};
|
||||
|
||||
function resetThresholds() {
|
||||
|
||||
var threshold = 0.3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue