From f2a3f105b994b4999bf1f258885b655b30c086c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=83=E7=A6=BE?= Date: Fri, 31 Jul 2020 23:48:07 +0800 Subject: [PATCH 1/5] Add Bootstrap implies --- src/apps.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/apps.json b/src/apps.json index ea49872d0..54b8b31e2 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1703,6 +1703,9 @@ "]+?href=\"[^\"]*bootstrap(?:\\.min)?\\.css", "]+class=\"[^\"]*glyphicon glyphicon-" ], + "implies": [ + "jQuery" + ], "icon": "Bootstrap.png", "js": { "bootstrap.Alert.VERSION": "^(.+)$\\;version:\\1", From 8894f4eb666cc56f238a125c39f7885ef50b8810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=83=E7=A6=BE?= Date: Fri, 31 Jul 2020 23:58:25 +0800 Subject: [PATCH 2/5] SVG logo of Bootstrap https://getbootstrap.com/#content --- src/apps.json | 2 +- .../webextension/images/icons/Bootstrap.png | Bin 3473 -> 0 bytes .../webextension/images/icons/Bootstrap.svg | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) delete mode 100644 src/drivers/webextension/images/icons/Bootstrap.png create mode 100644 src/drivers/webextension/images/icons/Bootstrap.svg diff --git a/src/apps.json b/src/apps.json index 54b8b31e2..869493aa3 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1706,7 +1706,7 @@ "implies": [ "jQuery" ], - "icon": "Bootstrap.png", + "icon": "Bootstrap.svg", "js": { "bootstrap.Alert.VERSION": "^(.+)$\\;version:\\1", "jQuery.fn.tooltip.Constructor.VERSION": "^(.+)$\\;version:\\1" diff --git a/src/drivers/webextension/images/icons/Bootstrap.png b/src/drivers/webextension/images/icons/Bootstrap.png deleted file mode 100644 index 7a2650aab3fb41680c574308ce47ec78e6bcf1d7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3473 zcm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K`^wQFx~TJ+FmWbi&2!H7U}_FWnILpmLz)6=WyR!T#oDSNCGFx%Lrk zseKe~9f?;pXK(gWbjv0MEn7zC_?@NQm@+dXl zo)Ng`ydnELJ4Wu>lDB6htYSKfZ*-&JuDqrTh>oi2f-00000NkvXXu0mjf8gGBootstrap From ed9fc2849d0b4afc0d56960fdf1ce788b7cc33a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E5=BF=83=E7=A6=BE?= Date: Sat, 1 Aug 2020 16:50:14 +0800 Subject: [PATCH 3/5] Improve Bootstrap detection --- src/apps.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/apps.json b/src/apps.json index 869493aa3..8bf5529bb 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1699,9 +1699,7 @@ "cpe": "cpe:/a:getbootstrap:bootstrap", "html": [ "