mirror of
https://github.com/flynx/features.js.git
synced 2025-10-28 18:00:11 +00:00
small fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
38c3553221
commit
abd5da3dac
@ -1016,6 +1016,10 @@ var FeatureSetProto = {
|
|||||||
var unapplicable = []
|
var unapplicable = []
|
||||||
var features = this.buildFeatureList(lst,
|
var features = this.buildFeatureList(lst,
|
||||||
(function(n){
|
(function(n){
|
||||||
|
// if we already tested unapplicable, no need to test again...
|
||||||
|
if(unapplicable.indexOf(n) >= 0){
|
||||||
|
return true
|
||||||
|
}
|
||||||
var f = this[n]
|
var f = this[n]
|
||||||
// check applicability if possible...
|
// check applicability if possible...
|
||||||
if(f && f.isApplicable && !f.isApplicable.call(this, obj)){
|
if(f && f.isApplicable && !f.isApplicable.call(this, obj)){
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-features",
|
"name": "ig-features",
|
||||||
"version": "3.3.1",
|
"version": "3.3.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "features.js",
|
"main": "features.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user