MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / draw10Min

Method draw10Min

contributed/modClock/main.js:1025–1027  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

1023 this.display.value((` ${d.getHours()} `).slice(-4));
1024 }
1025 draw10Min(d) {
1026 this.display.value((` ${(d.getMinutes()/10)|0} `).slice(0,4));
1027 }
1028 drawMin(d) {
1029 this.display.value((` ${(d.getMinutes()%10)}`).slice(0,4));
1030 }

Callers 2

incrementSettingMethod · 0.95
leftReleasedMethod · 0.80

Calls 2

sliceMethod · 0.65
valueMethod · 0.45

Tested by

no test coverage detected