From 0e2d593b00f48ffced28fd7f403fe2ae6ade0241 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:01:48 +0800 Subject: [PATCH] chore: always use dynamic `polyfill` for browsers --- _data/origin/basic.yml | 3 --- _data/origin/cors.yml | 3 --- _includes/js-selector.html | 2 +- assets/lib | 2 +- 4 files changed, 2 insertions(+), 8 deletions(-) diff --git a/_data/origin/basic.yml b/_data/origin/basic.yml index 9ffc76c..ed99ea8 100644 --- a/_data/origin/basic.yml +++ b/_data/origin/basic.yml @@ -42,8 +42,5 @@ lazy-polyfill: clipboard: js: /assets/lib/clipboard/clipboard.min.js -polyfill: - js: /assets/lib/polyfill-v3-es6/polyfill.min.js - mathjax: js: /assets/lib/mathjax/tex-chtml.js diff --git a/_data/origin/cors.yml b/_data/origin/cors.yml index 7322695..079fa0a 100644 --- a/_data/origin/cors.yml +++ b/_data/origin/cors.yml @@ -53,8 +53,5 @@ lazy-polyfill: clipboard: js: https://cdn.jsdelivr.net/npm/clipboard@2.0.11/dist/clipboard.min.js -polyfill: - js: https://polyfill.io/v3/polyfill.min.js?features=es6 - mathjax: js: https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js diff --git a/_includes/js-selector.html b/_includes/js-selector.html index b332f10..6352c96 100644 --- a/_includes/js-selector.html +++ b/_includes/js-selector.html @@ -87,7 +87,7 @@ } }; - + {% endif %} diff --git a/assets/lib b/assets/lib index f80ba2f..13e6909 160000 --- a/assets/lib +++ b/assets/lib @@ -1 +1 @@ -Subproject commit f80ba2f1616496cba34f3fd3eef1564d8fa843cd +Subproject commit 13e6909cc40e1b09f33fab420d743dfa709e86bb