1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 00:20:07 +00:00

Update dependency 4 (#5348)

* react react-dom reach-router react-image-lightbox

* update seafile-editor version

* optimize codemirror code

* optimize code

* repair code bug

* optimize code

* optimize code

* optimize seafile-editor version

* update seafile-editor version

* optimize code

* optimize code
This commit is contained in:
杨顺强
2022-12-29 12:21:47 +08:00
committed by GitHub
parent 4b82c58b0f
commit 3a4cb45fcf
111 changed files with 1500 additions and 603 deletions

View File

@@ -1177,22 +1177,25 @@ export const Utils = {
mode = 'javascript';
break;
case 'c':
mode = 'text/x-csrc';
mode = 'c';
break;
case 'cpp':
mode = 'text/x-c++src';
break;
case 'java':
mode = 'text/x-java';
mode = 'cpp';
break;
case 'cs':
mode = 'text/x-csharp';
mode = 'csharp';
break;
case 'java':
mode = 'java';
break;
case 'mdf':
mode = 'text/x-sql';
break;
case 'html':
mode = 'htmlmixed';
mode = 'html';
break;
case 'sh':
mode = 'shell';
break;
default:
mode = suffix;