MCPcopy Create free account
hub / github.com/breck7/scroll / evalTemplateString

Method evalTemplateString

external/.scrollLibs.js:16166–16169  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

16164 })
16165 }
16166 evalTemplateString(str) {
16167 const that = this
16168 return str.replace(/{([^\}]+)}/g, (match, path) => that.get(path) || "")
16169 }
16170 emitLogMessage(message) {
16171 console.log(message)
16172 }

Callers

nothing calls this directly

Calls 2

replaceMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected