Skip to content

Commit

Permalink
removed unused redraw()
Browse files Browse the repository at this point in the history
  • Loading branch information
agerardin committed Oct 2, 2021
1 parent da03d53 commit 7a73822
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,6 @@ async function fetchData() {
return data;
}


async function redraw() {
let data = await fetchData();
recordModelChanges( {name: "redraw", data:data} );
notifyUI();
}

//rendez-vous between worker and job queue
async function notifyUI() {
if(pollCb && modelChanges.length > 0) {
Expand Down

0 comments on commit 7a73822

Please sign in to comment.