mirror of
https://github.com/umap-project/umap.git
synced 2025-05-02 12:52:22 +02:00
wip: do not use private property yet
Support is not ready for us.
This commit is contained in:
parent
05ea45acd2
commit
907ba09c45
1 changed files with 6 additions and 6 deletions
|
@ -3,25 +3,25 @@ import * as Utils from './utils.js'
|
|||
import { translate } from './i18n.js'
|
||||
|
||||
class Rule {
|
||||
#condition = null
|
||||
_condition = null
|
||||
|
||||
get condition() {
|
||||
return this.#condition
|
||||
return this._condition
|
||||
}
|
||||
|
||||
set condition(value) {
|
||||
this.#condition = value
|
||||
this._condition = value
|
||||
this.parse()
|
||||
}
|
||||
|
||||
#isDirty = false
|
||||
_isDirty = false
|
||||
|
||||
get isDirty() {
|
||||
return this.#isDirty
|
||||
return this._isDirty
|
||||
}
|
||||
|
||||
set isDirty(status) {
|
||||
this.#isDirty = status
|
||||
this._isDirty = status
|
||||
if (status) this.map.isDirty = status
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue