Skip to content

Commit

Permalink
fix async
Browse files Browse the repository at this point in the history
  • Loading branch information
machsix committed Dec 10, 2023
1 parent d8a4911 commit c5f2fa7
Show file tree
Hide file tree
Showing 7 changed files with 2,845 additions and 2,637 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"no-alert": "off",
"no-array-constructor": "error",
"no-async-promise-executor": "error",
"no-await-in-loop": "error",
"no-await-in-loop": "off",
"no-bitwise": "error",
"no-buffer-constructor": "error",
"no-caller": "off",
Expand Down
5,145 changes: 2,675 additions & 2,470 deletions dist/Super_preloaderPlus_one_New.user.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "super-preloader",
"version": "7.0.5",
"version": "7.0.6",
"description": "Super-preloader",
"main": "dist/Super_preloaderPlus_one_New.user.js",
"author": "Mach6",
Expand Down
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ interface IRule {
ipages?: [boolean, number];
separator?: boolean;
sepdivDom?: (doc: Document, sep: HTMLElement) => HTMLElement;
startFilter?: (doc: Document, win?: Window) => void;
documentFilter?: ((doc: Document, nextLink?: string) => void) | 'startFilter';
startFilter?: (doc: Document, win?: Window) => Promise<void> | void;
documentFilter?: ((doc: Document, nextLink?: string) => Promise<void> | void) | 'startFilter';
scriptFilter?: string;
filter?: (pageElements: HTMLElement[]) => void;
stylish?: string;
Expand Down
Loading

0 comments on commit c5f2fa7

Please sign in to comment.