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

Function set

static/editor.md/lib/codemirror/mode/sql/sql.js:263–267  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

261
262 // turn a space-separated list into an array
263 function set(str) {
264 var obj = {}, words = str.split(" ");
265 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
266 return obj;
267 }
268
269 // A generic SQL Mode. It's not a standard, it just try to support what is generally supported
270 CodeMirror.defineMIME("text/x-sql", {

Callers 1

sql.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected