[PATCH v3 2/5] docs: Update Moment.js

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

 



We're using the very outdated 2.8.3 (Nov 2014). Replace it with
2.24.0 (Jan 2019), the latest available.

The new file, unlike the one it replaces, is not minified. We'll
take care of that separately.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 docs/Makefile.am         |    3 +-
 docs/index.html.in       |    2 +-
 docs/js/moment-2.24.0.js | 4602 ++++++++++++++++++++++++++++++++++++++
 docs/js/moment.min.js    |    7 -
 4 files changed, 4605 insertions(+), 9 deletions(-)
 create mode 100644 docs/js/moment-2.24.0.js
 delete mode 100644 docs/js/moment.min.js

diff --git a/docs/Makefile.am b/docs/Makefile.am
index f42307c7d5..83d5c41419 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -69,7 +69,8 @@ javascript = \
   js/main.js \
   js/jquery-3.4.1.js \
   js/jquery.rss.min.js \
-  js/moment.min.js
+  js/moment-2.24.0.js \
+  $(NULL)
 
 
 fonts = \
diff --git a/docs/index.html.in b/docs/index.html.in
index edf18f8aec..422dc10700 100644
--- a/docs/index.html.in
+++ b/docs/index.html.in
@@ -3,7 +3,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml";>
   <head>
     <script type="text/javascript" src="js/jquery-3.4.1.js"> </script>
-    <script type="text/javascript" src="js/moment.min.js"> </script>
+    <script type="text/javascript" src="js/moment-2.24.0.js"> </script>
     <script type="text/javascript" src="js/jquery.rss.min.js"> </script>
 
     <script type="text/javascript">
diff --git a/docs/js/moment-2.24.0.js b/docs/js/moment-2.24.0.js
new file mode 100644
index 0000000000..1b129716ac
--- /dev/null
+++ b/docs/js/moment-2.24.0.js
@@ -0,0 +1,4602 @@
+//! moment.js
+
+;(function (global, factory) {
+    typeof exports === 'object' && typeof module !== 'undefined' ? m
[...]
diff --git a/docs/js/moment.min.js b/docs/js/moment.min.js
deleted file mode 100644
index 9fb34ee07f..0000000000
--- a/docs/js/moment.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-//! moment.js
-//! version : 2.8.4
-//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
-//! license : MIT
-//! momentjs.com
-(function(a){function b(a,b,c){switch(arguments.length){case 2:retur
[...]
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux