16 lines
291 B
JavaScript
16 lines
291 B
JavaScript
|
|
import { createMutualExclude } from '../Util/mutualExclude.js'
|
|
|
|
|
|
export default class Binding {
|
|
constructor (type, target) {
|
|
this.type = type
|
|
this.target = target
|
|
this._mutualExclude = createMutualExclude()
|
|
}
|
|
destroy () {
|
|
this.type = null
|
|
this.target = null
|
|
}
|
|
}
|