Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix incorrect sizing of recent blog post images * Fix broken hash navigation on page load with code examples The code replacement modifies height, which means the anchor navigation is at the wrong place. Renavigate after code has loaded. * Update browserlist * Yarn workaround in github action See actions/setup-node#488 for reference. * eslint-check -> eslint, remove website test (we don't have them)
- Loading branch information
1 parent
8689b3f
commit 7b6f7e1
Showing
8 changed files
with
72 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
webhookdb-website/src/modules/throttledRequestIdleCallback.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* Invoke requestIdleCallback(cb) after a timeout has elapsed. | ||
* @param cb | ||
* @param timeout | ||
*/ | ||
export default function throttledRequestIdleCallback(cb, timeout) { | ||
window.setTimeout(() => { | ||
requestIdleCallback(cb); | ||
}, timeout); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters