From 91cd7c51a4e6f97da08d815428e6cc25e9d748db Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 16 Jun 2017 18:30:54 +0300 Subject: [PATCH] tweaks... Signed-off-by: Alex A. Naanou --- features.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 =