MCPcopy Create free account
hub / github.com/TruthHun/BookStack / popContext

Function popContext

static/editor.md/lib/codemirror/mode/d/d.js:127–132  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

125 return state.context = new Context(indent, col, type, null, state.context);
126 }
127 function popContext(state) {
128 var t = state.context.type;
129 if (t == ")" || t == "]" || t == "}")
130 state.indented = state.context.indented;
131 return state.context = state.context.prev;
132 }
133
134 // Interface
135

Callers 1

d.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected