yjs/src/Binding/Binding.js
2018-01-29 11:55:28 -08:00

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
}
}