From 9d3e69e8677008384d159ee138515ff7498064d7 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 7 Mar 2020 22:06:15 +0100 Subject: Move dropzone.js to npm/webpack (#10645) - unvendor dropzone and upgrade it from 4.2.0 to 5.7.0 - make `csrf` available on window.config --- templates/pwa/serviceworker_js.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/pwa') diff --git a/templates/pwa/serviceworker_js.tmpl b/templates/pwa/serviceworker_js.tmpl index 0fc9ed3193..2472b23a1f 100644 --- a/templates/pwa/serviceworker_js.tmpl +++ b/templates/pwa/serviceworker_js.tmpl @@ -9,6 +9,7 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/js/userheatmap.js', + '{{StaticUrlPrefix}}/js/dropzone.js', '{{StaticUrlPrefix}}/vendor/plugins/codemirror/addon/mode/loadmode.js', '{{StaticUrlPrefix}}/vendor/plugins/codemirror/mode/meta.js', '{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.js', @@ -21,6 +22,7 @@ var urlsToCache = [ '{{StaticUrlPrefix}}/css/index.css?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/css/userheatmap.css', + '{{StaticUrlPrefix}}/css/dropzone.css', '{{StaticUrlPrefix}}/fomantic/semantic.min.css?v={{MD5 AppVer}}', '{{StaticUrlPrefix}}/vendor/assets/font-awesome/css/font-awesome.min.css', '{{StaticUrlPrefix}}/vendor/plugins/dropzone/dropzone.css', -- cgit v1.2.3