MCPcopy Create free account
hub / github.com/docsifyjs/docsify / updateNoData

Function updateNoData

src/plugins/search/component.js:223–230  ·  view source on GitHub ↗
(text, path)

Source from the content-addressed store, hash-verified

221}
222
223function updateNoData(text, path) {
224 if (typeof text === 'string') {
225 NO_DATA_TEXT = text;
226 } else {
227 const match = Object.keys(text).filter(key => path.indexOf(key) > -1)[0];
228 NO_DATA_TEXT = text[match];
229 }
230}
231
232function updateOptions(opts) {
233 options = opts;

Callers 1

updateFunction · 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…