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

Function words

static/editor.md/lib/codemirror/mode/nginx/nginx.js:16–20  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

14CodeMirror.defineMode("nginx", function(config) {
15
16 function words(str) {
17 var obj = {}, words = str.split(" ");
18 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
19 return obj;
20 }
21
22 var keywords = words(
23 /* ngxDirectiveControl */ "break return rewrite set" +

Callers 1

nginx.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected