Skip to content

Commit 2227138

Browse files
committed
Show machine change count
1 parent 2796122 commit 2227138

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ YIELDMACHINE_SHA := $(firstword $(shell git ls-remote https://github.com/JavaScr
7575
tmp/sha/$(REGENERATED_DEV_SHA) tmp/sha/$(YIELDMACHINE_SHA):
7676
@mkdir -p tmp/sha
7777
@touch $@
78-
@echo "Latest sha: $(notdir $@)"
78+
@echo "Latest SHA: $(notdir $@)"
7979

8080
sha.js: tmp/sha/$(REGENERATED_DEV_SHA) tmp/sha/$(YIELDMACHINE_SHA)
8181
@echo "export const sha = '$(REGENERATED_DEV_SHA)'; export const yieldmachineSha = '$(YIELDMACHINE_SHA)';" > sha.js

pages/machines.client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class MachinesExample extends HTMLElement {
114114
}
115115

116116
update() {
117-
this.outputEl.textContent = this.machine.current;
117+
this.outputEl.textContent = `${this.machine.value.state} ${this.machine.value.change}`;
118118
}
119119
}
120120
customElements.define('machines-example', MachinesExample);

sha.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const devSHAs = { 'pages/machines.client.js': '7fb30014e908287f57edfd8ec705885f09ead88f4107f7ea7e4eda736f260cea', 'pages/machines.md': '597c270b3d2a3619a4ed946519cb918ed10e5beb2adf6f49af80370ad3a1d093' }
1+
export const devSHAs = { 'pages/machines.client.js': 'fd6e5535c0006de4f0d02f9828acc2606f1b911cad3daf0bc3e42f12b4cc2f02', 'pages/machines.md': '06cb35a52fd2f62f177b1ad956d5b931dc46f45d54bdca7a6122daaa22865c7b' }

0 commit comments

Comments
 (0)