Mercurial > kallithea
changeset 5514:1eeb3510917e stable
codemirror: remove the bad and hopefully unused CodeMirror.modeURL guessing
It should always be set in initCodeMirror before CodeMirror actually is used.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sun, 20 Sep 2015 22:22:50 +0200 |
parents | cf21a36ac3bb |
children | cb17acb443c0 |
files | kallithea/public/js/codemirror_loadmode.js |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/js/codemirror_loadmode.js Thu Sep 17 16:46:36 2015 -0400 +++ b/kallithea/public/js/codemirror_loadmode.js Sun Sep 20 22:22:50 2015 +0200 @@ -1,7 +1,4 @@ (function() { - // FIXME: if this default value ever is used, it will probably be wrong - if (!CodeMirror.modeURL) CodeMirror.modeURL = "../mode/%N/%N.js"; - var loading = {}; function splitCallback(cont, n) { var countDown = n;