You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/20 12:27:19 UTC
[echarts-www] branch next updated: use jsdelivr link for lottie
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/echarts-www.git
The following commit(s) were added to refs/heads/next by this push:
new f04e344 use jsdelivr link for lottie
f04e344 is described below
commit f04e34494a78729450f9256e13319cd562bebb40
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Jan 20 20:26:53 2021 +0800
use jsdelivr link for lottie
---
.DS_Store | Bin 6148 -> 0 bytes
.gitignore | 1 +
_jade/en/index.jade | 2 +-
_jade/zh/index.jade | 2 +-
asset/lottie/js/lottie.min.js | 15 ---------------
5 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 53225a4..0000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index 08b44b1..6495165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,5 +5,6 @@ release
package-lock.json
*/**/.DS_Store
_generated
+.DS_Store
doc-dist
\ No newline at end of file
diff --git a/_jade/en/index.jade b/_jade/en/index.jade
index 6ff12ff..c17c0b9 100644
--- a/_jade/en/index.jade
+++ b/_jade/en/index.jade
@@ -6,7 +6,7 @@ block variablesLang
block extra_head
title Apache ECharts
script(src="#{cdnPayRoot}/#{ecWWWLang}/vendors/scrollreveal.js")
- script(src="#{cdnPayRoot}/#{ecWWWLang}/asset/lottie/js/lottie.min.js?_v_=#{cdnPayVersion}")
+ script(src="https://cdn.jsdelivr.net/npm/lottie-web@5.7.6/build/player/lottie.min.js")
block content
nav(class='navbar navbar-default navbar-fixed-top', role="navigation")
diff --git a/_jade/zh/index.jade b/_jade/zh/index.jade
index f8ddaec..7fa31b7 100644
--- a/_jade/zh/index.jade
+++ b/_jade/zh/index.jade
@@ -5,7 +5,7 @@ extends ../layouts/basic
block extra_head
title Apache ECharts
script(src="#{cdnPayRoot}/#{ecWWWLang}/vendors/scrollreveal.js")
- script(src="#{cdnPayRoot}/#{ecWWWLang}/asset/lottie/js/lottie.min.js?_v_=#{cdnPayVersion}")
+ script(src="https://cdn.jsdelivr.net/npm/lottie-web@5.7.6/build/player/lottie.min.js")
block content
nav(class='navbar navbar-default navbar-fixed-top', role="navigation")
diff --git a/asset/lottie/js/lottie.min.js b/asset/lottie/js/lottie.min.js
deleted file mode 100644
index 3da1dc7..0000000
--- a/asset/lottie/js/lottie.min.js
+++ /dev/null
@@ -1,15 +0,0 @@
-(typeof navigator !== "undefined") && (function(root, factory) {
- if (typeof define === "function" && define.amd) {
- define(function() {
- return factory(root);
- });
- } else if (typeof module === "object" && module.exports) {
- module.exports = factory(root);
- } else {
- root.lottie = factory(root);
- root.bodymovin = root.lottie;
- }
-}((window || {}), function(window) {
- "use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil [...]
-return lottie;
-}));
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org