mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
[Client] Refactor: Improve readability
This commit is contained in:
parent
725c008966
commit
7b2563ffa3
1 changed files with 6 additions and 4 deletions
|
@ -10,12 +10,14 @@ class Autocomplete {
|
|||
* 対象のテキストエリアを与えてインスタンスを初期化します。
|
||||
*/
|
||||
constructor(textarea) {
|
||||
// BIND ---------------------------------
|
||||
this.onInput = this.onInput.bind(this);
|
||||
this.complete = this.complete.bind(this);
|
||||
this.close = this.close.bind(this);
|
||||
// --------------------------------------
|
||||
|
||||
this.suggestion = null;
|
||||
this.textarea = textarea;
|
||||
|
||||
this.onInput = this.onInput.bind(this);
|
||||
this.complete = this.complete.bind(this);
|
||||
this.close = this.close.bind(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue