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

Function makeKeywords

static/editor.md/lib/codemirror/mode/clojure/clojure.js:25–29  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

23 var NORMAL_INDENT_UNIT = options.indentUnit || 2;
24
25 function makeKeywords(str) {
26 var obj = {}, words = str.split(" ");
27 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
28 return obj;
29 }
30
31 var atoms = makeKeywords("true false nil");
32

Callers 1

clojure.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected