MCPcopy Create free account
hub / github.com/devflowinc/trieve / shallowPopulateUsing

Function shallowPopulateUsing

pdf2md/server/static/viewer.mjs:3015–3019  ·  view source on GitHub ↗
(fromElement, toElement)

Source from the content-addressed store, hash-verified

3013 return false;
3014}
3015function shallowPopulateUsing(fromElement, toElement) {
3016 toElement.textContent = fromElement.textContent;
3017 overlayAttributes(fromElement, toElement);
3018 return toElement;
3019}
3020;// ./node_modules/cached-iterable/src/cached_iterable.mjs
3021class CachedIterable extends Array {
3022 static from(iterable) {

Callers 2

getNodeForNamedElementFunction · 0.85
createSanitizedElementFunction · 0.85

Calls 1

overlayAttributesFunction · 0.85

Tested by

no test coverage detected