(names, id)
| 20155 | |
| 20156 | /* resets an ID entirely by overwriting it in the dictionary */ |
| 20157 | var resetIdNames = function resetIdNames(names, id) { |
| 20158 | // eslint-disable-next-line no-param-reassign |
| 20159 | names[id] = Object.create(null); |
| 20160 | }; |
| 20161 | |
| 20162 | /* factory for a names dictionary checking the existance of an ID:name pairing */ |
| 20163 | var hasNameForId = function hasNameForId(names) { |
no outgoing calls
no test coverage detected