From fc215aeaa42c1399989415242f5f8d4492594b98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20A=2E=20Sachs?= Date: Thu, 5 Jan 2017 06:41:58 -0300 Subject: [PATCH 1/2] Aurelia JS framework detection --- src/apps.json | 15 ++++++++++ src/icons/Aurelia.svg | 64 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 src/icons/Aurelia.svg diff --git a/src/apps.json b/src/apps.json index 4b06a262f..2136356d2 100755 --- a/src/apps.json +++ b/src/apps.json @@ -709,6 +709,21 @@ ], "website": "www.atlassian.com/software/jira/overview/" }, + "Aurelia": { + "cats": [ + 12 + ], + "icon": "Aurelia.svg", + "html": [ + "aurelia-app=[^>]", + "data-main=[^>]aurelia-bootstrapper", + "au-target-id=[^>]\\d" + ], + "script": [ + "aurelia(?:\\.min)?\\.js" + ], + "website": "aurelia.io" + }, "Avangate": { "cats": [ 6 diff --git a/src/icons/Aurelia.svg b/src/icons/Aurelia.svg new file mode 100644 index 000000000..3bf9ad8fd --- /dev/null +++ b/src/icons/Aurelia.svg @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 782b9ef290ac64b4f670ceeb5852747e35174ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20A=2E=20Sachs?= Date: Wed, 1 Feb 2017 05:08:10 -0300 Subject: [PATCH 2/2] Regex fix --- src/apps.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps.json b/src/apps.json index 2136356d2..3949504dc 100755 --- a/src/apps.json +++ b/src/apps.json @@ -715,9 +715,9 @@ ], "icon": "Aurelia.svg", "html": [ - "aurelia-app=[^>]", - "data-main=[^>]aurelia-bootstrapper", - "au-target-id=[^>]\\d" + "<[^>]+aurelia-app=[^>]", + "<[^>]+data-main=[^>]aurelia-bootstrapper", + "<[^>]+au-target-id=[^>]\\d" ], "script": [ "aurelia(?:\\.min)?\\.js"