summaryrefslogtreecommitdiffstats
path: root/templates/pwa/serviceworker_js.tmpl
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2019-07-12 01:21:44 -0400
committerLauris BH <lauris@nix.lv>2019-07-12 08:21:44 +0300
commitefaee46b4df538e23367a7f4e2205f446b6c709b (patch)
treeac1e05d0a51641563e4e39a7cd50358a7f622a07 /templates/pwa/serviceworker_js.tmpl
parent072bdfa3f50591863d523202e6d8a0fac0ca7ea7 (diff)
downloadgitea-efaee46b4df538e23367a7f4e2205f446b6c709b.tar.gz
gitea-efaee46b4df538e23367a7f4e2205f446b6c709b.zip
jQuery 3 (#7425)
* jquery 3 * use most recent version of migrate plugin * Delete .DS_Store * update service worker in case anyone has old version of jquery cached
Diffstat (limited to 'templates/pwa/serviceworker_js.tmpl')
-rw-r--r--templates/pwa/serviceworker_js.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl
index 5995fc3144..ee96cd5f68 100644
--- a/templates/pwa/serviceworker_js.tmpl
+++ b/templates/pwa/serviceworker_js.tmpl
@@ -2,7 +2,8 @@ var STATIC_CACHE = 'static-cache-v1';
var urlsToCache = [
// js
'{{AppSubUrl}}/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js',
- '{{AppSubUrl}}/vendor/plugins/jquery/jquery.min.js',
+ '{{AppSubUrl}}/vendor/plugins/jquery/jquery.min.js?v=3.4.1',
+ '{{AppSubUrl}}/vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1',
'{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.js',
'{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}',
'{{AppSubUrl}}/js/draw.js',