Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ getText
Function
getText
static/editor.md/lib/codemirror/addon/hint/sql-hint.js:29–31 ·
view source on GitHub ↗
(item)
Source
from the content-addressed store, hash-verified
27
}
28
29
function
getText(item) {
30
return
typeof item ==
"string"
? item : item.text;
31
}
32
33
function
getItem(list, item) {
34
if
(!list.slice)
return
list[item];
Callers
5
getItem
Function · 0.70
match
Function · 0.70
insertBackticks
Function · 0.70
jquery-2.2.1.js
File · 0.50
jquery.js
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected