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

Function closure

static/editor.md/lib/codemirror/mode/xml/xml.js:139–147  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

137
138 function inAttribute(quote) {
139 var closure = function(stream, state) {
140 while (!stream.eol()) {
141 if (stream.next() == quote) {
142 state.tokenize = inTag;
143 break;
144 }
145 }
146 return "string";
147 };
148 closure.isInAttribute = true;
149 return closure;
150 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected