mirror of
https://github.com/flynx/features.js.git
synced 2025-10-28 18:00:11 +00:00
some output cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
35350e22bf
commit
d855557cc0
@ -1289,9 +1289,13 @@ var FeatureSetProto = {
|
||||
return true
|
||||
})
|
||||
features.unapplicable = unapplicable
|
||||
// cleanup disabled...
|
||||
// cleanup disabled -- filter out unapplicable and excluded features...
|
||||
// NOTE: this is done mainly for cleaner and simpler reporting
|
||||
// later on...
|
||||
features.disabled = features.disabled
|
||||
.filter(function(n){ return unapplicable.indexOf(n) < 0 })
|
||||
.filter(function(n){
|
||||
return unapplicable.indexOf(n) < 0
|
||||
&& features.excluded.indexOf(n) < 0 })
|
||||
|
||||
// if we have critical errors and set verbose...
|
||||
var fatal = features.error
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-features",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "",
|
||||
"main": "features.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user