mirror of
https://github.com/flynx/features.js.git
synced 2025-10-29 10:20:09 +00:00
minor tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
40ecbd8970
commit
c619972c43
@ -318,8 +318,7 @@ object.Constructor('FeatureSet', {
|
|||||||
return Object.keys(this)
|
return Object.keys(this)
|
||||||
.filter(function(e){
|
.filter(function(e){
|
||||||
return e != 'features'
|
return e != 'features'
|
||||||
&& that[e] instanceof Feature })
|
&& that[e] instanceof Feature }) },
|
||||||
},
|
|
||||||
|
|
||||||
// build exclusive groups...
|
// build exclusive groups...
|
||||||
//
|
//
|
||||||
@ -1120,10 +1119,7 @@ object.Constructor('FeatureSet', {
|
|||||||
lst.forEach(function(n){
|
lst.forEach(function(n){
|
||||||
if(that[n] != null){
|
if(that[n] != null){
|
||||||
console.log('Removing feature:', n)
|
console.log('Removing feature:', n)
|
||||||
that[n].remove(obj)
|
that[n].remove(obj) } }) },
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
// Generate a Graphviz graph from features...
|
// Generate a Graphviz graph from features...
|
||||||
@ -1149,7 +1145,6 @@ object.Constructor('FeatureSet', {
|
|||||||
|
|
||||||
return graph
|
return graph
|
||||||
},
|
},
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user