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

Function escapeUserProvidedKey

code/third-party/public/app.js:18236–18238  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

18234
18235var userProvidedKeyEscapeRegex = /\/+/g;
18236function escapeUserProvidedKey(text) {
18237 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
18238}
18239
18240var POOL_SIZE = 10;
18241var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected