git ssb

1+

Matt McKegg / mutant



Commit 89c147a250091cde1a0a493d7aac2a9e27ac1f3b

lookup: fix handling of null keys

Matt McKegg committed on 9/12/2016, 1:29:01 PM
Parent: f354577cf86a29720a64a606931c7110ebc019a1

Files changed

lookup.jschanged
lookup.jsView
@@ -32,9 +32,9 @@
3232 for (var i = 0; i < mapped.getLength(); i++) {
3333 var item = mapped.get(i)
3434 if (item) {
3535 var key = resolve(item.key)
36- if (key !== undefined) {
36+ if (key != null) {
3737 var rawValue = item.value
3838 currentKeys.push(key)
3939 keys.add(key)
4040 raw[key] = rawValue

Built with git-ssb-web