From 415fd9a479629bf2a3a11b44704e3b0d45d0bee1 Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 14 Nov 2013 23:33:33 +0100 Subject: [PATCH] Add AngularJS's version detection pattern (based on script tags) --- share/apps.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index c36a4372b..cdebd42f0 100644 --- a/share/apps.json +++ b/share/apps.json @@ -158,7 +158,8 @@ "AngularJS": { "website": "angularjs.org", "cats": [ 12 ], - "env": "^angular$" + "env": "^angular$", + "script": [ "angular(?:\\-|\\.)([\\d.]*\\d)[^/]*\\.js\\;version:\\1", "/([\\d.]+(\\-?rc[.\\d]*)*)/angular(\\.min)?\\.js\\;version:\\1", "angular.*\\.js" ] }, "AOLserver": { "website": "aolserver.com",