MCPcopy Index your code
hub / github.com/microsoft/SandDance / requestAnimationFrame

Function requestAnimationFrame

docs/app/js/sanddance-app.js:60644–60646  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

60642parcelHelpers.export(exports, "requestAnimationFrame", ()=>requestAnimationFrame);
60643parcelHelpers.export(exports, "cancelAnimationFrame", ()=>cancelAnimationFrame);
60644function requestAnimationFrame(callback) {
60645 return typeof window !== "undefined" && window.requestAnimationFrame ? window.requestAnimationFrame(callback) : setTimeout(callback, 1000 / 60);
60646}
60647function cancelAnimationFrame(timerId) {
60648 return typeof window !== "undefined" && window.cancelAnimationFrame ? window.cancelAnimationFrame(timerId) : clearTimeout(timerId);
60649}

Callers 15

setDeckPropsMethod · 0.70
renderMethod · 0.70
updateViewerOptionsMethod · 0.70
changeColumnMappingMethod · 0.70
renderMethod · 0.70
sanddance-app.jsFile · 0.70
downloadDataFunction · 0.70
poll1Function · 0.70
setDeckPropsMethod · 0.50
updateViewerOptionsMethod · 0.50
changeColumnMappingMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected