mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-23 23:11:12 +02:00
fix codemirror mode path
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "web-maker",
|
"name": "web-maker",
|
||||||
"version": "6.2.0",
|
"version": "6.3.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "web-maker",
|
"name": "web-maker",
|
||||||
"version": "6.2.0",
|
"version": "6.3.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@emmetio/codemirror-plugin": "^0.5.4",
|
"@emmetio/codemirror-plugin": "^0.5.4",
|
||||||
|
@@ -5,7 +5,7 @@ import CodeMirror from 'codemirror';
|
|||||||
// Make CodeMirror available globally so the modes' can register themselves.
|
// Make CodeMirror available globally so the modes' can register themselves.
|
||||||
window.CodeMirror = CodeMirror;
|
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 = {};
|
var loading = {};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user