mirror of
https://github.com/flynx/features.js.git
synced 2025-10-29 10:20:09 +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
|
return true
|
||||||
})
|
})
|
||||||
features.unapplicable = unapplicable
|
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
|
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...
|
// if we have critical errors and set verbose...
|
||||||
var fatal = features.error
|
var fatal = features.error
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-features",
|
"name": "ig-features",
|
||||||
"version": "3.0.1",
|
"version": "3.0.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "features.js",
|
"main": "features.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user