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

Function escapeUserProvidedKey

code/composition/public/app.js:19141–19143  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

19139
19140var userProvidedKeyEscapeRegex = /\/+/g;
19141function escapeUserProvidedKey(text) {
19142 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
19143}
19144
19145var POOL_SIZE = 10;
19146var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected