From 759be29bd17ff93183bbd19fa907f977bc29fd9a Mon Sep 17 00:00:00 2001 From: Lalle <29478339+LalleSX@users.noreply.github.com> Date: Fri, 21 Apr 2023 04:10:24 +0200 Subject: [PATCH] dollar types --- src/platform/{$.js => $.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/platform/{$.js => $.ts} (99%) diff --git a/src/platform/$.js b/src/platform/$.ts similarity index 99% rename from src/platform/$.js rename to src/platform/$.ts index 4ce11fa..98e1570 100644 --- a/src/platform/$.js +++ b/src/platform/$.ts @@ -228,7 +228,7 @@ $.ajax = (function () { // 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. $.lastModified = dict(); -$.whenModified = function(url, bucket, cb, options = {}) { +$.whenModified = function (url, bucket, cb, options = {}) { const { timeout, ajax = $.ajax } = options; let params = []; let lastModifiedTime;