From a5528eb2cfe0e521e7793692f8b3135e3a59f305 Mon Sep 17 00:00:00 2001 From: Janpot Date: Sun, 5 Jan 2014 14:59:29 +0100 Subject: [PATCH] Add undefined variables --- share/js/wappalyzer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/js/wappalyzer.js b/share/js/wappalyzer.js index bca3b64f3..bc10b6312 100644 --- a/share/js/wappalyzer.js +++ b/share/js/wappalyzer.js @@ -26,7 +26,7 @@ var wappalyzer = (function() { * Calculate confidence total */ getConfidence: function() { - var total = 0; + var total = 0, id; for ( id in this.confidence ) { total += this.confidence[id]; @@ -243,7 +243,7 @@ var wappalyzer = (function() { */ analyze: function(hostname, url, data) { var - i, j, app, confidence, type, regexMeta, regexScript, match, content, meta, header, checkImplies, version, + i, j, app, confidence, type, regexMeta, regexScript, match, content, meta, header, checkImplies, version, id, profiler = new Profiler(), apps = {} ;