Commit b424e0dd69696f9db8b920d2b503320da01b5f98
mapped-dict: fix matching of existing value
Matt McKegg committed on 9/12/2016, 12:59:24 PMParent: 2b5e31cac39d3db81a26461d2d5ea9de451caf07
Files changed
lib/key-value.js | changed |
lib/key-value.js | ||
---|---|---|
@@ -2,8 +2,8 @@ | ||
2 | 2 | var isObservable = require('../is-observable') |
3 | 3 | |
4 | 4 | module.exports = function MutantKeyValue (key, value) { |
5 | 5 | var result = Struct({key: key, value: value}) |
6 | - result._type = 'MutantLookupKeyValue' | |
6 | + result._type = 'MutantKeyValue' | |
7 | 7 | result.isBound = isObservable(key) || isObservable(value) |
8 | 8 | return result |
9 | 9 | } |
Built with git-ssb-web