MCPcopy
hub / github.com/docsifyjs/docsify / getListData

Function getListData

src/plugins/search/search.js:70–75  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

68}
69
70function getListData(token) {
71 if (!token.text && token.type === 'list') {
72 token.text = token.raw;
73 }
74 return token.text;
75}
76
77function saveData(maxAge, expireKey, indexKey) {
78 localStorage.setItem(expireKey, Date.now() + maxAge);

Callers 1

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