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

Function escapeUserProvidedKey

code/styling/public/app.js:19003–19005  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

19001
19002var userProvidedKeyEscapeRegex = /\/+/g;
19003function escapeUserProvidedKey(text) {
19004 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
19005}
19006
19007var POOL_SIZE = 10;
19008var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected