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 d9acc18 commit 05c98b5Copy full SHA for 05c98b5
src/ResizeSensor.js
@@ -14,11 +14,11 @@
14
}
15
}(this, function () {
16
17
- //Make sure it does not throw in a SSR (Server Side Rendering) situation
+ // Make sure it does not throw in a SSR (Server Side Rendering) situation
18
if (typeof window === "undefined") {
19
return null;
20
21
- // Only used for the dirty checking, so the event callback count is limted to max 1 call per fps per sensor.
+ // Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
22
// In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
23
// would generate too many unnecessary events.
24
var requestAnimationFrame = window.requestAnimationFrame ||
0 commit comments