mirror of
https://github.com/LalleSX/4chan-XZ.git
synced 2025-10-07 07:22:37 +02:00
dollar types
This commit is contained in:
parent
b2b7d2a383
commit
759be29bd1
@ -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;
|
||||||
Loading…
x
Reference in New Issue
Block a user