From 030463e3ea0669189c12afd4904e6bd6cbd1a5ba Mon Sep 17 00:00:00 2001 From: q-- Date: Sat, 25 Nov 2017 02:02:42 +0100 Subject: [PATCH] Lower confidence for short patterns (D3 and NV3D patterns) (#1854) * Low confidence for 2-character environment variables These can be automatically generated by the Google Closure Compiler (which will, if configured, replace global variables with auto-generated ones such as aa, ab, ac et cetera.) Hence, they are a less reliable indication that a library which would also set said variable is present. * Low confidence for D3 and NV3D env patterns These variables can be automatically generated by the Google Closure Compiler (which will, if configured, replace global variables with auto-generated ones such as aa, ab, ac et cetera.) Hence, they are a less reliable indication that a library which would also set said variable is present. --- src/apps.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps.json b/src/apps.json index 780420ced..117628656 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1865,7 +1865,7 @@ "cats": [ "25" ], - "env": "^d3$", + "env": "^d3$\\;confidence:20", "icon": "D3.png", "script": "/d3(?:\\. v\\d+)?(?:\\.min)?\\.js", "website": "http://d3js.org" @@ -5703,7 +5703,7 @@ "cats": [ "25" ], - "env": "^nv$", + "env": "^nv$\\;confidence:20", "html": "]* href=[^>]+nv\\.d3(?:\\.min)?\\.css", "icon": "NVD3.png", "implies": "D3",