implement Y.*Binding approach

This commit is contained in:
Kevin Jahns
2018-01-29 10:30:21 -08:00
parent 41a88dbc43
commit 94f6a0fd9c
6 changed files with 66 additions and 4 deletions

15
src/Binding/Binding.js Normal file
View File

@@ -0,0 +1,15 @@
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
}
}