From c619972c4345ca6016df87dca7a2120c3816e8e7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 27 Apr 2020 16:42:15 +0300 Subject: [PATCH] minor tweaks... Signed-off-by: Alex A. Naanou --- features.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/features.js b/features.js index f418f23..bd41924 100755 --- a/features.js +++ b/features.js @@ -318,8 +318,7 @@ object.Constructor('FeatureSet', { return Object.keys(this) .filter(function(e){ return e != 'features' - && that[e] instanceof Feature }) - }, + && that[e] instanceof Feature }) }, // build exclusive groups... // @@ -1120,10 +1119,7 @@ object.Constructor('FeatureSet', { lst.forEach(function(n){ if(that[n] != null){ console.log('Removing feature:', n) - that[n].remove(obj) - } - }) - }, + that[n].remove(obj) } }) }, // Generate a Graphviz graph from features... @@ -1149,7 +1145,6 @@ object.Constructor('FeatureSet', { return graph }, - })