Skip to content

Commit 05c98b5

Browse files
darrenscerrimarcj
authored andcommitted
Fix small typo and comment style consistency (marcj#149)
1 parent d9acc18 commit 05c98b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ResizeSensor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
}
1515
}(this, function () {
1616

17-
//Make sure it does not throw in a SSR (Server Side Rendering) situation
17+
// Make sure it does not throw in a SSR (Server Side Rendering) situation
1818
if (typeof window === "undefined") {
1919
return null;
2020
}
21-
// Only used for the dirty checking, so the event callback count is limted to max 1 call per fps per sensor.
21+
// Only used for the dirty checking, so the event callback count is limited to max 1 call per fps per sensor.
2222
// In combination with the event based resize sensor this saves cpu time, because the sensor is too fast and
2323
// would generate too many unnecessary events.
2424
var requestAnimationFrame = window.requestAnimationFrame ||

0 commit comments

Comments
 (0)