From 7e3e6652d2fecd445e24dd5eca35f6b42868a9f2 Mon Sep 17 00:00:00 2001 From: Elbert Alias Date: Mon, 17 Apr 2017 15:09:27 +1000 Subject: [PATCH] Fix undefined variables --- src/wappalyzer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 4e9abfb54..3b90c23c5 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -234,7 +234,7 @@ var wappalyzer = (function() { */ analyze: function(hostname, url, data) { var - confirmMatch, confidence, match, type, version, + confirmMatch, confidence, id, match, patterns, type, version, apps = {}, excludes = [], checkImplies = true; @@ -355,8 +355,6 @@ var wappalyzer = (function() { } w.apps[app].implies.forEach(function(implied) { - var id; - implied = parsePatterns(implied)[0]; if ( !w.apps[implied.string] ) {