MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / resetIdNames

Function resetIdNames

code/styling/public/app.js:20157–20160  ·  view source on GitHub ↗
(names, id)

Source from the content-addressed store, hash-verified

20155
20156/* resets an ID entirely by overwriting it in the dictionary */
20157var 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 */
20163var hasNameForId = function hasNameForId(names) {

Callers 2

insertMarkerFunction · 0.85
removeRulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected