(parent, key)
| 67 | } |
| 68 | |
| 69 | function promote(parent, key) { |
| 70 | if (parent[key].length === 0) return parent[key] = {}; |
| 71 | var t = {}; |
| 72 | for (var i in parent[key]) t[i] = parent[key][i]; |
| 73 | parent[key] = t; |
| 74 | return t; |
| 75 | } |
| 76 | |
| 77 | function parse(parts, parent, key, val) { |
| 78 | var part = parts.shift(); |
no outgoing calls
no test coverage detected
searching dependent graphs…