Add use case for no transformer function

This commit is contained in:
YOUR_NAME 2023-02-05 00:09:33 -06:00
parent f8f4cd8320
commit 9d055d5caf
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@
});
if (transformer) {
getData.then(window[transformer]());
} else {
getData.then((data) => { elt.innerHTML = data; });
}
}, wheel2.updateTime);
});