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

Function parseWords

static/editor.md/lib/codemirror/mode/mirc/mirc.js:18–22  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

16CodeMirror.defineMIME("text/mirc", "mirc");
17CodeMirror.defineMode("mirc", function() {
18 function parseWords(str) {
19 var obj = {}, words = str.split(" ");
20 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
21 return obj;
22 }
23 var specials = parseWords("$! $$ $& $? $+ $abook $abs $active $activecid " +
24 "$activewid $address $addtok $agent $agentname $agentstat $agentver " +
25 "$alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime " +

Callers 1

mirc.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected