You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/04/19 12:16:49 UTC

[echarts-www] branch pwa created (now 0b53ffd0)

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

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


      at 0b53ffd0 feat: add pwa

This branch includes the following new commits:

     new 0b53ffd0 feat: add pwa

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[echarts-www] 01/01: feat: add pwa

Posted by wa...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0b53ffd0d5ae0cf1c6b51fc6c3075656458c9a00
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Tue Apr 19 20:15:04 2022 +0800

    feat: add pwa
---
 _jade/layouts/basic.jade | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/_jade/layouts/basic.jade b/_jade/layouts/basic.jade
index b89efc61..d379c097 100644
--- a/_jade/layouts/basic.jade
+++ b/_jade/layouts/basic.jade
@@ -28,6 +28,7 @@ html(lang='#{htmlAttrLang}')
 
         script.
             window.EC_WWW_LANG = '#{ecWWWLang}';
+            window.EC_WWW_HOST = '#{host}';
 
         script(type='text/javascript', src='#{cdnThirdParty.paceProgressBarJS}')
 
@@ -43,6 +44,7 @@ html(lang='#{htmlAttrLang}')
         block extra_head
 
         script(type='text/javascript', src='#{cdnThirdParty.jquery}')
+        script(type='text/javascript', src='#{host}/pwa.js?#{homeVersion}')
 
     <!--[if lte IE 8]>
     body.lower-ie


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