From ef2da6778e04fb420f966ab9ae1a7d1dc23d434b Mon Sep 17 00:00:00 2001 From: Jose Sachs Date: Wed, 4 Sep 2019 00:30:17 -0300 Subject: [PATCH] Adds Sapper, Fixed Svelte detection in some cases --- src/apps.json | 19 ++++++++++++++++++- src/icons/Sapper.svg | 20 ++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/icons/Sapper.svg diff --git a/src/apps.json b/src/apps.json index 504c4c5af..1e3d66a7a 100644 --- a/src/apps.json +++ b/src/apps.json @@ -8907,6 +8907,23 @@ "icon": "SAP.png", "website": "http://sap.com" }, + "Sapper": { + "cats": [ + 18 + ], + "html": [ + "]*>__SAPPER__" + ], + "icon": "Sapper.svg", + "js": { + "__SAPPER__": "" + }, + "implies": [ + "Svelte", + "Node.js" + ], + "website": "https://sapper.svelte.dev" + }, "SDL Tridion": { "cats": [ 1 @@ -10068,7 +10085,7 @@ "cats": [ 12 ], - "html": "<[^>]+class=\"[^\"]*svelte-", + "html": "<[^>]+class=\\\"[^\\\"]+\\ssvelte-[\\w]*\\\"", "icon": "Svelte.svg", "website": "https://svelte.dev" }, diff --git a/src/icons/Sapper.svg b/src/icons/Sapper.svg new file mode 100644 index 000000000..f4382d50a --- /dev/null +++ b/src/icons/Sapper.svg @@ -0,0 +1,20 @@ + + + + + + +