mirror of
https://github.com/flynx/features.js.git
synced 2025-10-28 09:50:10 +00:00
minor fix/cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
9d1cad7f87
commit
38c3553221
14
features.js
14
features.js
@ -924,6 +924,16 @@ var FeatureSetProto = {
|
||||
|
||||
|
||||
//-------------------------------------------------------------
|
||||
|
||||
// remove exclusivity tags that were resolved...
|
||||
var isMissing = function(f){
|
||||
return !(
|
||||
// feature is a resolvable exclusive tag...
|
||||
(exclusive[f] || []).length > 0
|
||||
// feature was resolved...
|
||||
&& exclusive[f]
|
||||
.filter(function(f){ return list.indexOf(f) >= 0 })
|
||||
.length > 0) }
|
||||
|
||||
return {
|
||||
input: lst,
|
||||
@ -940,8 +950,8 @@ var FeatureSetProto = {
|
||||
|| missing.length > 0
|
||||
|| missing_suggested.length > 0) ?
|
||||
{
|
||||
missing: missing,
|
||||
missing_suggested: missing_suggested,
|
||||
missing: missing.filter(isMissing),
|
||||
missing_suggested: missing_suggested.filter(isMissing),
|
||||
conflicts: conflicts,
|
||||
|
||||
// fatal stuff...
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-features",
|
||||
"version": "3.3.0",
|
||||
"version": "3.3.1",
|
||||
"description": "",
|
||||
"main": "features.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user