mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
fixup: renaming
This commit is contained in:
parent
7f65b1de57
commit
488b5882e7
1 changed files with 3 additions and 3 deletions
|
@ -17,19 +17,19 @@ export class SaveManager {
|
|||
|
||||
add(obj) {
|
||||
this._queue.add(obj)
|
||||
this.checkStatus()
|
||||
this.updateDOM()
|
||||
}
|
||||
|
||||
delete(obj) {
|
||||
this._queue.delete(obj)
|
||||
this.checkStatus()
|
||||
this.updateDOM()
|
||||
}
|
||||
|
||||
has(obj) {
|
||||
return this._queue.has(obj)
|
||||
}
|
||||
|
||||
checkStatus() {
|
||||
updateDOM() {
|
||||
document.body.classList.toggle('umap-is-dirty', this._queue.size)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue