From 736d380708b285b7ee57b252b9730304e2cabbf6 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 9 Dec 2017 03:41:40 +0100 Subject: [PATCH] Add a way to get modernizr version (#1904) This can be tested [here](https://paranoidbeavers.ca) --- src/apps.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index dcf086c4b..a17062584 100644 --- a/src/apps.json +++ b/src/apps.json @@ -5446,7 +5446,10 @@ ], "env": "^Modernizr$", "icon": "Modernizr.svg", - "script": "modernizr(?:-([\\d.]*[\\d]))?.*\\.js\\;version:\\1", + "script": [ + "modernizr(?:-([\\d.]*[\\d]))?.*\\.js\\;version:\\1", + "/([\\d.]+)/modernizr(?:\\.min)?\\.js\\;version:\\1" + ], "website": "http://www.modernizr.com" }, "Modified": {