This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
     new c7ef35c3 use China CDN for Chinese website
c7ef35c3 is described below

commit c7ef35c3f6b9913df5edf339df7be087c5af6ec7
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Sat Dec 9 02:48:30 2023 +0800

    use China CDN for Chinese website
---
 _jade/components/download.jade    |  2 +-
 _jade/layouts/doc.jade            | 12 ++++++------
 _jade/layouts/example-simple.jade |  6 +++---
 _jade/layouts/example.jade        |  6 +++---
 4 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/_jade/components/download.jade b/_jade/components/download.jade
index a1735325..cff805f3 100644
--- a/_jade/components/download.jade
+++ b/_jade/components/download.jade
@@ -3,7 +3,7 @@ extends ../layouts/basic
 block extra_head
 
     title 下载 - Apache ECharts
-    //- script(src="#{cdnThirdParty.sweetalertJS}")
+    //- script(src="#{cdn3rdRoot.sweetalertJS}")
 
 block content
     nav(class='navbar navbar-default navbar-fixed-top')
diff --git a/_jade/layouts/doc.jade b/_jade/layouts/doc.jade
index 2f387a91..a5ab9ee0 100644
--- a/_jade/layouts/doc.jade
+++ b/_jade/layouts/doc.jade
@@ -7,7 +7,7 @@ block extra_head
             /* position: sticky should not have overflow parents.*/
             overflow-x: hidden;
         }
-    link(rel="stylesheet", href="#{cdnThirdParty.elementUICSS}")
+    link(rel="stylesheet", href="#{cdn3rdRoot.elementUICSS}")
     link(rel="stylesheet", href="#{getAssetUrl(cdnPayRoot, ecWWWLang + 
'/css/doc-bundle.css')}")
 
 block content
@@ -34,11 +34,11 @@ block content
 
 
 block extra_js
-    script(src="#{cdnThirdParty.vueJS}")
-    script(src="#{cdnThirdParty.elementUIJS}")
-    script(src="#{cdnThirdParty.codeMirrorJS}")
-    script(src="#{cdnThirdParty.codeMirrorJSModeJS}")
-    script(src="#{cdnThirdParty.beautifierJS}")
+    script(src="#{cdn3rdRoot.vueJS}")
+    script(src="#{cdn3rdRoot.elementUIJS}")
+    script(src="#{cdn3rdRoot.codeMirrorJS}")
+    script(src="#{cdn3rdRoot.codeMirrorJSModeJS}")
+    script(src="#{cdn3rdRoot.beautifierJS}")
     script(src="#{getAssetUrl(cdnPayRoot, ecWWWLang + '/js/doc-bundle.js')}")
     script(type="text/javascript").
         document.getElementById('nav-doc').className = 'active';
diff --git a/_jade/layouts/example-simple.jade 
b/_jade/layouts/example-simple.jade
index afa78a80..6a5aefc8 100644
--- a/_jade/layouts/example-simple.jade
+++ b/_jade/layouts/example-simple.jade
@@ -7,7 +7,7 @@ block extra_head
             /* position: sticky should not have overflow parents.*/
             overflow-x: hidden;
         }
-    link(rel="stylesheet", href="#{cdnThirdParty.elementUICSS}")
+    link(rel="stylesheet", href="#{cdn3rdRoot.elementUICSS}")
     link(rel="stylesheet", href="#{getAssetUrl(cdnPayRoot, 
'examples/css/example-bundle.css')}")
 
 block content
@@ -15,8 +15,8 @@ block content
     #ec-example-main
 
 block extra_js
-    script(src="#{cdnThirdParty.vueJS}")
-    script(src="#{cdnThirdParty.elementUIJS}")
+    script(src="#{cdn3rdRoot.vueJS}")
+    script(src="#{cdn3rdRoot.elementUIJS}")
     script(src="#{getAssetUrl(cdnPayRoot, 'examples/js/example-bundle.js')}")
     script(type="text/javascript").
         window.EC_WWW_CDN_PAY_ROOT = '#{cdnPayRoot}';
diff --git a/_jade/layouts/example.jade b/_jade/layouts/example.jade
index 358a8784..aa3a005d 100644
--- a/_jade/layouts/example.jade
+++ b/_jade/layouts/example.jade
@@ -7,7 +7,7 @@ block extra_head
             /* position: sticky should not have overflow parents.*/
             overflow-x: hidden;
         }
-    link(rel="stylesheet", href="#{cdnThirdParty.elementUICSS}")
+    link(rel="stylesheet", href="#{cdn3rdRoot.elementUICSS}")
     link(rel="stylesheet", href="#{getAssetUrl(cdnPayRoot, 
'examples/css/example-bundle.css')}")
 
 block content
@@ -34,8 +34,8 @@ block content
 
 
 block extra_js
-    script(src="#{cdnThirdParty.vueJS}")
-    script(src="#{cdnThirdParty.elementUIJS}")
+    script(src="#{cdn3rdRoot.vueJS}")
+    script(src="#{cdn3rdRoot.elementUIJS}")
     script(src="#{getAssetUrl(cdnPayRoot, 'examples/js/example-bundle.js')}")
     script(type="text/javascript").
         document.getElementById('nav-examples').className = 'active';


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to