bump deps version

This commit is contained in:
undefined committed 2022-03-12 23:38:41 +08:00
1 parent e7b4b5de5e
commit f621d26ed7
29 files changed
+75 -63

No files matched your search

@@ -119,6 +119,7 @@ export default class DOMAttachedObject {
}
constructor($dom: JQuery<HTMLElement>, monitorDetach = false) {
// eslint-disable-next-line no-constructor-return
if ($dom == null) return null;
this.$dom = $dom;
this.id = ++DOMAttachedObject.uniqueIdCounter;
@@ -23,9 +23,8 @@ class Marker {
}
constructor() {
if (Marker.exists()) {
return markerInstance;
}
// eslint-disable-next-line no-constructor-return
if (Marker.exists()) return markerInstance;
if (markerInstance) {
markerInstance.destroy();
}
@@ -109,7 +109,7 @@ function handlePasteEvent(editor: monaco.editor.IStandaloneCodeEditor) {
});
}
let progress = 0;
request.postFile(isProblemEdit ? './file' : '/file', data, {
request.postFile(isProblemEdit ? './files' : '/file', data, {
xhr() {
const xhr = new XMLHttpRequest();
xhr.upload.addEventListener('loadstart', () => updateText(i18n('Uploading...')));