mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
fix (linter): linter fix
This commit is contained in:
Vendored
+2
-1
@@ -9,7 +9,7 @@ import {
|
||||
pipe, share, toArray, distinctUntilChanged, from, finalize,
|
||||
combineLatest, shareReplay, race, repeat, interval, merge,
|
||||
debounceTime, debounce, delay, concatMap, distinct, scan, throwError,
|
||||
zip, animationFrames, retry, forkJoin, skip, takeUntil, timer,
|
||||
zip, animationFrames, retry, forkJoin, skip, takeUntil, timer, withLatestFrom,
|
||||
} from "./vendor/rxjs/rxjs.min.js";
|
||||
|
||||
import * as rxajax from "./vendor/rxjs/rxjs-ajax.min.js";
|
||||
@@ -60,6 +60,7 @@ declare const rxjs: {
|
||||
takeUntil: typeof takeUntil,
|
||||
timer: typeof timer,
|
||||
pairwise: typeof pairwise,
|
||||
withLatestFrom: typeof withLatestFrom,
|
||||
};
|
||||
|
||||
export default rxjs;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import rxjs, { effect, preventDefault } from "../../lib/rx.js";
|
||||
import rxjs, { effect } from "../../lib/rx.js";
|
||||
|
||||
import { extractPath, isDir, currentPath } from "./helper.js";
|
||||
import { mv as mv$, refresh } from "./model_files.js";
|
||||
@@ -6,7 +6,7 @@ import { mv as mvVL, withVirtualLayer } from "./model_virtual_layer.js";
|
||||
|
||||
const mv = (from, to) => withVirtualLayer(
|
||||
mv$(from, to),
|
||||
mvVL(from, to, { crossWindow: true }),
|
||||
mvVL(from, to),
|
||||
);
|
||||
|
||||
export default function() {
|
||||
|
||||
@@ -155,7 +155,7 @@ export const ls = (path) => {
|
||||
export const refresh = () => {
|
||||
window.dispatchEvent(new KeyboardEvent("keydown", { keyCode: 82 }));
|
||||
bc.postMessage(null);
|
||||
}
|
||||
};
|
||||
|
||||
export const search = (term) => ajax({
|
||||
url: withURLParams(`api/files/search?path=${encodeURIComponent(currentPath())}&q=${encodeURIComponent(term)}`),
|
||||
|
||||
Reference in New Issue
Block a user