mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
bump deps version
This commit is contained in:
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...')));
|
||||
|
||||
Reference in new issue
Block a user