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

View File

@ -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
}