MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / setProgress

Function setProgress

rusense_flasher/js/flasher.js:35–38  ·  view source on GitHub ↗
(pct)

Source from the content-addressed store, hash-verified

33
34function setStatus(msg) { $("flash-status").textContent = msg; }
35function setProgress(pct) {
36 $("flash-bar").style.width = pct + "%";
37 $("flash-pct").textContent = Math.round(pct) + "%";
38}
39
40function waitForConfirm() {
41 return new Promise((resolve) => {

Callers 2

reportProgressFunction · 0.70
flasher.jsFile · 0.70

Calls 1

$Function · 0.70

Tested by

no test coverage detected