Skip to content

Commit

Permalink
Add comments to index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhope-dev committed Jun 6, 2023
1 parent 867bcba commit ca2784c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wwwroot/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ async function initAsync() {
// This function is called periodically
// in order to retrieve the latest item ID
// as well as the newest stories
// NB. See topstories.js for more comments on this function, since they
// are very similar. TODO - combine these and place in shared.js!
async function fixedUpdateAsync() {
let newStoriesIds = null;
while (newStoriesIds === null) {
Expand Down

0 comments on commit ca2784c

Please sign in to comment.