Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ pushCommand
Function
pushCommand
static/editor.md/lib/codemirror/mode/stex/stex.js:22–24 ·
view source on GitHub ↗
(state, command)
Source
from the content-addressed store, hash-verified
20
"use strict"
;
21
22
function
pushCommand(state, command) {
23
state.cmdState.push(command);
24
}
25
26
function
peekCommand(state) {
27
if
(state.cmdState.length > 0) {
Callers
1
normal
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected