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

Function escapeUserProvidedKey

code/redux/public/app.js:20347–20349  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

20345
20346var userProvidedKeyEscapeRegex = /\/+/g;
20347function escapeUserProvidedKey(text) {
20348 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
20349}
20350
20351var POOL_SIZE = 10;
20352var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected