diff --git a/features.js b/features.js index 32c8282..c45e5b0 100755 --- a/features.js +++ b/features.js @@ -1016,6 +1016,10 @@ var FeatureSetProto = { var unapplicable = [] var features = this.buildFeatureList(lst, (function(n){ + // if we already tested unapplicable, no need to test again... + if(unapplicable.indexOf(n) >= 0){ + return true + } var f = this[n] // check applicability if possible... if(f && f.isApplicable && !f.isApplicable.call(this, obj)){ diff --git a/package.json b/package.json index cfbe79e..2c7e3a6 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-features", - "version": "3.3.1", + "version": "3.3.2", "description": "", "main": "features.js", "scripts": {