dollar types

This commit is contained in:
Lalle 2023-04-21 04:10:24 +02:00
parent b2b7d2a383
commit 759be29bd1
No known key found for this signature in database
GPG Key ID: A6583D207A8F6B0D

View File

@ -228,7 +228,7 @@ $.ajax = (function () {
// With the `If-Modified-Since` header we only receive the HTTP headers and no body for 304 responses. // With the `If-Modified-Since` header we only receive the HTTP headers and no body for 304 responses.
// This saves a lot of bandwidth and CPU time for both the users and the servers. // This saves a lot of bandwidth and CPU time for both the users and the servers.
$.lastModified = dict(); $.lastModified = dict();
$.whenModified = function(url, bucket, cb, options = {}) { $.whenModified = function (url, bucket, cb, options = {}) {
const { timeout, ajax = $.ajax } = options; const { timeout, ajax = $.ajax } = options;
let params = []; let params = [];
let lastModifiedTime; let lastModifiedTime;