another barin-dead error fix....

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-06-29 19:16:45 +03:00
parent 6caf72c5e9
commit e70a077177

View File

@ -490,10 +490,6 @@ var FeatureSetProto = {
var res = e.exclusive var res = e.exclusive
.filter(function(n){ .filter(function(n){
if(_exclusive.indexOf(n) < 0){ 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) _exclusive.push(n)
return false return false
} }
@ -501,8 +497,11 @@ var FeatureSetProto = {
}) })
.length == 0 .length == 0
!res && !res
excluded.push(n) && excluded.push(n)
// XXX not sure if this is the right place for this...
&& console.warn(
'Excluding unaplicable:', n, '(reccomended to exclude manually)')
return res return res
}) })