tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-06-16 18:30:54 +03:00
parent fd61609d49
commit 91cd7c51a4

View File

@ -733,7 +733,6 @@ var FeatureSetProto = {
f = that[n]
}
// feature not defined or is not a feature...
//if(f == null || !(f instanceof Feature)){
if(f == null){
data.missing
&& data.missing.indexOf(n) < 0
@ -929,7 +928,6 @@ var FeatureSetProto = {
f = that[n]
}
// feature not defined or is not a feature...
//if(f == null || !(f instanceof Feature)){
if(f == null){
data.missing
&& data.missing.indexOf(n) < 0
@ -1340,8 +1338,7 @@ var FeatureSetProto = {
// shorthand for: Feature(<feature-set>, ...)
// XXX should this return this?
Feature: function(){
return this.__feature__.apply(null, [this].concat(args2array(arguments)))
},
return this.__feature__.apply(null, [this].concat(args2array(arguments))) },
}
@ -1349,6 +1346,7 @@ var FeatureSet =
module.FeatureSet = object.makeConstructor('FeatureSet', FeatureSetProto)
//---------------------------------------------------------------------
var Features =