Reset categories while iterating applications

main
Elbert Alias 10 years ago
parent d8b6791e6e
commit f0870ee2ea

@ -41,15 +41,15 @@
*/
displayApps: function() {
var
app,
app, cats,
apps = [],
cats = [],
count = wappalyzer.detected[url] ? Object.keys(wappalyzer.detected[url]).length : 0;
wappalyzer.log('driver.displayApps');
if ( count ) {
for ( app in wappalyzer.detected[url] ) {
cats = [];
wappalyzer.apps[app].cats.forEach(function(cat) {
cats.push(wappalyzer.categories[cat]);

Loading…
Cancel
Save