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

Function escapeUserProvidedKey

code/dependency-injection/public/app.js:19096–19098  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

19094
19095var userProvidedKeyEscapeRegex = /\/+/g;
19096function escapeUserProvidedKey(text) {
19097 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
19098}
19099
19100var POOL_SIZE = 10;
19101var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected