diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-06-15 22:58:32 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-06-15 22:58:32 +0530 |
| commit | 920c4837acbba57fb1c51941770586c89436bc61 (patch) | |
| tree | adab786c0b6ef869ee7c062bb3affdda7b43ace3 /src/shared/intercept-jquery-ajax.ts | |
| parent | 8b7f56048cb8dce1cd41225a059b82b1e782299b (diff) | |
| download | banglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.tar.gz banglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.zip | |
Updated README.md + Some minor changes.
Diffstat (limited to 'src/shared/intercept-jquery-ajax.ts')
| -rw-r--r-- | src/shared/intercept-jquery-ajax.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/intercept-jquery-ajax.ts b/src/shared/intercept-jquery-ajax.ts index efcb555..a77dd44 100644 --- a/src/shared/intercept-jquery-ajax.ts +++ b/src/shared/intercept-jquery-ajax.ts @@ -32,10 +32,10 @@ document.addEventListener("DOMContentLoaded", () => { }; }); -export const interceptPost = (url: string, callback: InterceptJqueryAjaxCallback) => { +export function interceptPost(url: string, callback: InterceptJqueryAjaxCallback) { postIntercepts.push({ url, callback }); }; -export const interceptGet = (url: string, callback: InterceptJqueryAjaxCallback) => { +export function interceptGet(url: string, callback: InterceptJqueryAjaxCallback) { getIntercepts.push({ url, callback }); }; |
