MCPcopy
hub / github.com/stemdeckapp/stemdeck / esc

Function esc

static/mobile/app.js:101–103  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

99 return m + ":" + String(s).padStart(2, "0");
100}
101function esc(s) {
102 return String(s).replace(/[&<>"]/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;" })[c]);
103}
104
105// Cover/thumbnail art. Uses the real YouTube/SoundCloud thumbnail when present
106// (layered over the gradient as a fallback if it fails to load); otherwise the

Callers 8

artLabelFunction · 0.70
stemsBodyFunction · 0.70
analysisBodyFunction · 0.70
mixerScreenFunction · 0.70
libraryBodyFunction · 0.70
extractProgressCardFunction · 0.70
extractScreenFunction · 0.70
miniPlayerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected