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

Function tokenRegexp

static/editor.md/lib/codemirror/mode/sass/sass.js:15–17  ·  view source on GitHub ↗
(words)

Source from the content-addressed store, hash-verified

13
14CodeMirror.defineMode("sass", function(config) {
15 function tokenRegexp(words) {
16 return new RegExp("^" + words.join("|"));
17 }
18
19 var keywords = ["true", "false", "null", "auto"];
20 var keywordsRegexp = new RegExp("^" + keywords.join("|"));

Callers 1

sass.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected