Skip to content

Instantly share code, notes, and snippets.

@sueLan
Created March 5, 2020 13:33
Show Gist options
  • Save sueLan/4a24233afe9cf280b18a60f4a4159510 to your computer and use it in GitHub Desktop.
Save sueLan/4a24233afe9cf280b18a60f4a4159510 to your computer and use it in GitHub Desktop.
// Filter out indices that have gone out of view since this call was scheduled.
viewableIndicesToCheck = viewableIndicesToCheck.filter(ii =>
this._viewableIndices.includes(ii),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment