MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / pushCommand

Function pushCommand

static/js/codemirror/mode/stex/stex.js:8–10  ·  view source on GitHub ↗
(state, command)

Source from the content-addressed store, hash-verified

6CodeMirror.defineMode("stex", function()
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 1

pushMethod · 0.45

Tested by

no test coverage detected