You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2022/06/09 09:48:01 UTC

[echarts] 01/02: test: change cdn to unpkg

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

ovilia pushed a commit to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 3a5edc2a20f95834fa4fb5ed5ce1fa8d0767d315
Author: Ovilia <zw...@gmail.com>
AuthorDate: Thu Jun 9 17:32:46 2022 +0800

    test: change cdn to unpkg
---
 test/map-projection-animation.html | 5 ++---
 test/map-projection-d3.html        | 5 ++---
 test/map-projection.html           | 5 ++---
 test/runTest/client/index.html     | 6 +++---
 test/runTest/recorder/index.html   | 8 ++++----
 5 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/test/map-projection-animation.html b/test/map-projection-animation.html
index e6ee43cca..fc91c7524 100644
--- a/test/map-projection-animation.html
+++ b/test/map-projection-animation.html
@@ -23,8 +23,8 @@ under the License.
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1" />
-        <script src="https://cdn.jsdelivr.net/npm/d3-array@3"></script>
-        <script src="https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"></script>
+        <script src="https://unpkg.com/d3-array@3"></script>
+        <script src="https://unpkg.com/d3-geo@3/dist/d3-geo.js"></script>
 
         <script src="lib/simpleRequire.js"></script>
         <script src="lib/config.js"></script>
@@ -232,4 +232,3 @@ under the License.
 
     </body>
 </html>
-
diff --git a/test/map-projection-d3.html b/test/map-projection-d3.html
index e184058a0..d1a3a4f38 100644
--- a/test/map-projection-d3.html
+++ b/test/map-projection-d3.html
@@ -23,8 +23,8 @@ under the License.
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1" />
-        <script src="https://cdn.jsdelivr.net/npm/d3-array@3"></script>
-        <script src="https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"></script>
+        <script src="https://unpkg.com/d3-array@3"></script>
+        <script src="https://unpkg.com/d3-geo@3/dist/d3-geo.js"></script>
 
         <script src="lib/simpleRequire.js"></script>
         <script src="lib/config.js"></script>
@@ -539,4 +539,3 @@ under the License.
 
     </body>
 </html>
-
diff --git a/test/map-projection.html b/test/map-projection.html
index 06fe69704..667b06e86 100644
--- a/test/map-projection.html
+++ b/test/map-projection.html
@@ -23,8 +23,8 @@ under the License.
     <head>
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width, initial-scale=1" />
-        <script src="https://cdn.jsdelivr.net/npm/d3-array@3"></script>
-        <script src="https://cdn.jsdelivr.net/npm/d3-geo@3/dist/d3-geo.js"></script>
+        <script src="https://unpkg.com/d3-array@3"></script>
+        <script src="https://unpkg.com/d3-geo@3/dist/d3-geo.js"></script>
 
         <script src="lib/simpleRequire.js"></script>
         <script src="lib/config.js"></script>
@@ -781,4 +781,3 @@ under the License.
         </script>
     </body>
 </html>
-
diff --git a/test/runTest/client/index.html b/test/runTest/client/index.html
index 5e876c3f6..9d52c1ae1 100644
--- a/test/runTest/client/index.html
+++ b/test/runTest/client/index.html
@@ -322,11 +322,11 @@ under the License.
 </div>
 
 <script src="../../../node_modules/socket.io-client/dist/socket.io.js"></script>
-<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
+<script src="https://unpkg.com/vue@2.6.10/dist/vue.js"></script>
 
 <!-- Element UI -->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-ui@2.15.1/lib/theme-chalk/index.css">
-<script src="https://cdn.jsdelivr.net/npm/element-ui@2.15.1/lib/index.js"></script>
+<link rel="stylesheet" href="https://unpkg.com/element-ui@2.15.1/lib/theme-chalk/index.css">
+<script src="https://unpkg.com/element-ui@2.15.1/lib/index.js"></script>
 
 <script src="client.js"></script>
 
diff --git a/test/runTest/recorder/index.html b/test/runTest/recorder/index.html
index e0bc594fe..efbcfe63d 100644
--- a/test/runTest/recorder/index.html
+++ b/test/runTest/recorder/index.html
@@ -94,12 +94,12 @@ under the License.
 </div>
 
 <script src="../../../node_modules/socket.io-client/dist/socket.io.js"></script>
-<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.js"></script>
+<script src="https://unpkg.com/vue@2.6.10/dist/vue.js"></script>
 
 <!-- Element UI -->
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/element-ui@2.11.1/lib/theme-chalk/index.css">
-<script src="https://cdn.jsdelivr.net/npm/element-ui@2.11.1/lib/index.js"></script>
-<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.js"></script>
+<link rel="stylesheet" href="https://unpkg.com/element-ui@2.11.1/lib/theme-chalk/index.css">
+<script src="https://unpkg.com/element-ui@2.11.1/lib/index.js"></script>
+<script src="https://unpkg.com/lodash@4.17.15/lodash.js"></script>
 
 <script src="recorder.js"></script>
 


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