guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ricardo Wurmus
Date: Tue, 13 Feb 2024 11:57:27 -0500 (EST)

branch: wip-js+css
commit 7c0d1eae3598cbae617593729f9ef9b054b5a9c9
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Feb 13 17:07:14 2024 +0100

    Remove popper.js.
    
    Upstream has disappeared and it seems that we aren't using it for anything
    important.
    
    * src/static/js/popper.min.js: Delete file.
    * Makefile.am (dist_js_DATA): Remove it.
    * src/cuirass/http.scm (%file-white-list): Remove it.
    * src/cuirass/templates.scm (html-page): Do not serve it.
    (javascript-licenses): Remove entry.
---
 Makefile.am                 | 3 +--
 src/cuirass/http.scm        | 1 -
 src/cuirass/templates.scm   | 6 ------
 src/static/js/popper.min.js | 5 -----
 4 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e76b487..5ae3b40 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -135,8 +135,7 @@ dist_js_DATA =                                      \
   src/static/js/choices.min.js                  \
   src/static/js/d3.v6.min.js                   \
   src/static/js/datatables.min.js               \
-  src/static/js/jquery-3.3.1.min.js            \
-  src/static/js/popper.min.js
+  src/static/js/jquery-3.3.1.min.js
 
 dist_systemdservice_DATA =                     \
   etc/cuirass-remote-worker.service
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index 4adcf3e..af481d5 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -93,7 +93,6 @@
     "js/d3.v6.min.js"
     "js/datatables.min.js"
     "js/jquery-3.3.1.min.js"
-    "js/popper.min.js"
     "js/bootstrap.min.js"
     "js/choices.min.js"))
 
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index bbfc19a..12f184c 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -147,7 +147,6 @@ system whose names start with " (code "guile-") ":" (br)
           ;; The empty strings are mandatory to force the SXML parser to
           ;; create end script tags.
           (script (@ (src "/static/js/jquery-3.3.1.min.js")) "")
-          (script (@ (src "/static/js/popper.min.js")) "")
           (script (@ (src "/static/js/bootstrap.min.js")) "")
           (script (@ (src "/static/js/datatables.min.js")) "")
           (script (@ (src "/static/js/d3.v6.min.js")) "")
@@ -2318,11 +2317,6 @@ content as a string."
 https://www.gnu.org/software/librejs/free-your-javascript.html.";
   '((table
      (@ (id "jslicense-labels1"))
-     (tr
-      (td (a (@ (href "/static/js/popper.min.js")) "popper.min.js"))
-      (td (a (@ (href 
"https://github.com/popperjs/popper-core/blob/master/LICENSE.md";))
-             "Expat"))
-      (td (a (@ (href "/static/js/popper.min.js")) "popper.js") ))
      (tr
       (td (a (@ (href "/static/js/datatables.min.js")) "datatables.min.js"))
       (td (a (@ (href "https://datatables.net/license/mit";)) "Expat"))
diff --git a/src/static/js/popper.min.js b/src/static/js/popper.min.js
deleted file mode 100644
index 9b7dbeb..0000000
--- a/src/static/js/popper.min.js
+++ /dev/null
@@ -1,5 +0,0 @@
-/*
- Copyright (C) Federico Zivolo 2018
- Distributed under the MIT License (license terms are at 
http://opensource.org/licenses/MIT).
- */(function(e,t){'object'==typeof exports&&'undefined'!=typeof 
module?module.exports=t():'function'==typeof 
define&&define.amd?define(t):e.Popper=t()})(this,function(){'use 
strict';function e(e){return e&&'[object 
Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var 
o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return 
t?n[t]:n}function 
o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function 
n(e){if(!e)return document.body;switch(e.nodeName) [...]
-//# sourceMappingURL=popper.min.js.map



reply via email to

[Prev in Thread] Current Thread [Next in Thread]