()
| 455 | _refreshID = 0, |
| 456 | _queueRefreshID, |
| 457 | _queueRefreshAll = function _queueRefreshAll() { |
| 458 | // we don't want to call _refreshAll() every time we create a new ScrollTrigger (for performance reasons) - it's better to batch them. Some frameworks dynamically load content and we can't rely on the window's "load" or "DOMContentLoaded" events to trigger it. |
| 459 | if (_queueRefreshID !== _refreshID) { |
| 460 | var id = _queueRefreshID = _refreshID; |
| 461 | requestAnimationFrame(function () { |
| 462 | return id === _refreshID && _refreshAll(true); |
| 463 | }); |
| 464 | } |
| 465 | }, |
| 466 | _refresh100vh = function _refresh100vh() { |
| 467 | _body.appendChild(_div100vh); |
| 468 |
no test coverage detected
searching dependent graphs…