Commit 89c147a250091cde1a0a493d7aac2a9e27ac1f3b
lookup: fix handling of null keys
Matt McKegg committed on 9/12/2016, 1:29:01 PMParent: f354577cf86a29720a64a606931c7110ebc019a1
Files changed
lookup.js | changed |
lookup.js | ||
---|---|---|
@@ -32,9 +32,9 @@ | ||
32 | 32 | for (var i = 0; i < mapped.getLength(); i++) { |
33 | 33 | var item = mapped.get(i) |
34 | 34 | if (item) { |
35 | 35 | var key = resolve(item.key) |
36 | - if (key !== undefined) { | |
36 | + if (key != null) { | |
37 | 37 | var rawValue = item.value |
38 | 38 | currentKeys.push(key) |
39 | 39 | keys.add(key) |
40 | 40 | raw[key] = rawValue |
Built with git-ssb-web