MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / pushCommand

Function pushCommand

mini-code-edit/cm/mode/stex/stex.js:8–10  ·  view source on GitHub ↗
(state, command)

Source from the content-addressed store, hash-verified

6CodeMirror.defineMode("stex", function(cmCfg, modeCfg)
7{
8 function pushCommand(state, command) {
9 state.cmdState.push(command);
10 }
11
12 function peekCommand(state) {
13 if (state.cmdState.length>0)

Callers 1

normalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected