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

Function escapeUserProvidedKey

code/communication/public/app.js:19038–19040  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

19036
19037var userProvidedKeyEscapeRegex = /\/+/g;
19038function escapeUserProvidedKey(text) {
19039 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
19040}
19041
19042var POOL_SIZE = 10;
19043var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected