From 6caf72c5e99b2aa4d04228a0c52d54e308ab68bd Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 29 Jun 2016 19:02:59 +0300 Subject: [PATCH] oops... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/features.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/lib/features.js b/ui (gen4)/lib/features.js index c356be18..f34d635e 100755 --- a/ui (gen4)/lib/features.js +++ b/ui (gen4)/lib/features.js @@ -420,9 +420,6 @@ var FeatureSetProto = { } // check applicability... if(f.isApplicable && !f.isApplicable.call(that, obj)){ - // XXX not sure if this is the right place for this... - console.warn('Excluding unaplicable:', n, '(reccomended to exclude manually)') - unapplicable.push(n) return false } @@ -493,6 +490,10 @@ var FeatureSetProto = { var res = e.exclusive .filter(function(n){ if(_exclusive.indexOf(n) < 0){ + // XXX not sure if this is the right place for this... + console.warn( + 'Excluding unaplicable:', n, '(reccomended to exclude manually)') + _exclusive.push(n) return false }