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

Function searchWordList

static/editor.md/lib/codemirror/mode/forth/forth.js:67–75  ·  view source on GitHub ↗
(wordList, word)

Source from the content-addressed store, hash-verified

65
66 CodeMirror.defineMode('forth', function() {
67 function searchWordList (wordList, word) {
68 var i;
69 for (i = wordList.length - 1; i >= 0; i--) {
70 if (wordList[i].name === word.toUpperCase()) {
71 return wordList[i];
72 }
73 }
74 return undefined;
75 }
76 return {
77 startState: function() {
78 return {

Callers 1

forth.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected