MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / escapeUserProvidedKey

Function escapeUserProvidedKey

bundle.js:1972–1974  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1970
1971 var userProvidedKeyEscapeRegex = /\/+/g;
1972 function escapeUserProvidedKey(text) {
1973 return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');
1974 }
1975
1976 var POOL_SIZE = 10;
1977 var traverseContextPool = [];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected