1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-10-15 05:16:35 +02:00

fix codemirror mode path

This commit is contained in:
Kushagra Gour
2024-05-22 14:09:58 +05:30
parent fa5da01aa9
commit aa568320bc
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import CodeMirror from 'codemirror';
// Make CodeMirror available globally so the modes' can register themselves.
window.CodeMirror = CodeMirror;
if (!CodeMirror.modeURL) CodeMirror.modeURL = '/lib/codemirror/mode/%N/%N.js';
if (!CodeMirror.modeURL) CodeMirror.modeURL = './lib/codemirror/mode/%N/%N.js';
var loading = {};