Skip to content

Commit

Permalink
aligned "ok" method definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Acker committed Oct 15, 2024
1 parent 6fd4d13 commit 025fe2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions html/js/activity_icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ class Activity {
off = this.#set.bind(this, Activity._states.off, 0);
idle = this.#set.bind(this, Activity._states.idle, 0);
error = this.#set.bind(this, Activity._states.error, 0);

ok(timeout = this.#idleTimeout) {
this.#set(Activity._states.ok, timeout);
}
ok = (timeout = this.#idleTimeout) => this.#set(Activity._states.ok, timeout);
}


Expand Down
2 changes: 1 addition & 1 deletion html/js/activity_icon.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 025fe2e

Please sign in to comment.