Files
yjs/src/Binding/Binding.js
Kevin Jahns c0d24bdba4 lint
2018-01-29 16:41:27 -08:00

15 lines
290 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
}
}