nrw / observ-varhash

An object with observable key value pairs that can be added and removed
14 stars 12 forks source link

Initial state must be set after createValue() #12

Closed Raynos closed 9 years ago

Raynos commented 9 years ago

Otherwise there is a difference between hash().foo and hash.foo() which is an inconsistency that you do not want.

Raynos commented 9 years ago

cc @nrw

nrw commented 9 years ago

we really should cover this with a test, too!

Raynos commented 9 years ago

@nrw yes! Agreed.