small fix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-10-06 14:17:01 +03:00
parent 38c3553221
commit abd5da3dac
2 changed files with 5 additions and 1 deletions

View File

@ -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)){

View File

@ -1,6 +1,6 @@
{
"name": "ig-features",
"version": "3.3.1",
"version": "3.3.2",
"description": "",
"main": "features.js",
"scripts": {