Skip to content
Snippets Groups Projects
Commit aa90eb2f authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[clike mode] Remove obsolete function namespace

parent d77a0440
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,6 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
};
});
(function() {
function words(str) {
var obj = {}, words = str.split(" ");
for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
......@@ -432,6 +431,5 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
hooks: {"#": cppHook},
modeProps: {fold: ["brace", "include"]}
});
}());
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment