MCPcopy
hub / github.com/stutrek/scrollmonitor / requestAnimationFrame

Function requestAnimationFrame

test/tests.js:36–40  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

34 return window.innerHeight || document.documentElement.clientHeight;
35};
36var requestAnimationFrame = function (cb) {
37 setTimeout(function () {
38 requestAnimationFrameDoer(cb);
39 }, 4);
40};
41
42var fixture = document.getElementById('fixture');
43if (!fixture) {

Callers 3

setupFunction · 0.85
destroyFunction · 0.85
tests.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected