We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace45eb commit 7768637Copy full SHA for 7768637
src/ResizeSensor.js
@@ -6,6 +6,9 @@
6
;
7
(function() {
8
9
+ // Only used for the dirty checking, so the event callback count is limted to max 1 call per fps per sensor.
10
+ // In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
11
+ // would generate too many unnecessary events.
12
var requestAnimationFrame = window.requestAnimationFrame ||
13
window.mozRequestAnimationFrame ||
14
window.webkitRequestAnimationFrame ||
0 commit comments