(words)
| 14 | })(function(CodeMirror) { |
| 15 | "use strict"; |
| 16 | var wordRegexp = function(words) { |
| 17 | return new RegExp("^(?:" + words.join("|") + ")$", "i"); |
| 18 | }; |
| 19 | |
| 20 | CodeMirror.defineMode("cypher", function(config) { |
| 21 | var tokenBase = function(stream/*, state*/) { |