diff --git a/features.js b/features.js index 03f36ac..fd8a8b5 100755 --- a/features.js +++ b/features.js @@ -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(, ...) // 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 =