MCPcopy Create free account
hub / github.com/caseywebdev/react-list / escapeSelectorAttributeValueInsideDoubleQuotes

Function escapeSelectorAttributeValueInsideDoubleQuotes

docs/index.js:4560–4567  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

4558}
4559var escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\n"\\]/g;
4560function escapeSelectorAttributeValueInsideDoubleQuotes(value) {
4561 return value.replace(
4562 escapeSelectorAttributeValueInsideDoubleQuotesRegex,
4563 function (ch) {
4564 return "\\" + ch.charCodeAt(0).toString(16) + " ";
4565 }
4566 );
4567}
4568function updateInput(
4569 element,
4570 value,

Callers 8

restoreStateOfTargetFunction · 0.85
preconnectAsFunction · 0.85
preloadFunction · 0.85
preloadModuleFunction · 0.85
getStyleKeyFunction · 0.85
getScriptKeyFunction · 0.85
acquireResourceFunction · 0.85
index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…