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

Function conditional

static/editor.md/lib/codemirror/mode/jade/jade.js:281–286  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

279 }
280
281 function conditional(stream, state) {
282 if (stream.match(/^(if|unless|else if|else)\b/)) {
283 state.javaScriptLine = true;
284 return KEYWORD;
285 }
286 }
287
288 function each(stream, state) {
289 if (stream.match(/^(- *)?(each|for)\b/)) {

Callers 1

nextTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected