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:50 UTC
[echarts-www] 01/01: feat: add pwa
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