mirror of
https://github.com/flynx/features.js.git
synced 2025-10-28 09:50:10 +00:00
minor generalization...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
3e7322d17e
commit
e1330408ad
@ -1,3 +1,4 @@
|
|||||||
|
.npm*
|
||||||
*.vim
|
*.vim
|
||||||
*.sw[po]
|
*.sw[po]
|
||||||
.git
|
.git
|
||||||
|
|||||||
@ -337,7 +337,8 @@ var FeatureSetProto = {
|
|||||||
features
|
features
|
||||||
.filter(function(f){ return !!that[f].exclusive })
|
.filter(function(f){ return !!that[f].exclusive })
|
||||||
.forEach(function(k){
|
.forEach(function(k){
|
||||||
(that[k].exclusive || [])
|
var e = that[k].exclusive
|
||||||
|
;((e instanceof Array ? e : [e]) || [])
|
||||||
.forEach(function(e){
|
.forEach(function(e){
|
||||||
// skip tags not explicitly requested...
|
// skip tags not explicitly requested...
|
||||||
if(tag != '*' && tag.indexOf(e) < 0){
|
if(tag != '*' && tag.indexOf(e) < 0){
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-features",
|
"name": "ig-features",
|
||||||
"version": "3.2.7",
|
"version": "3.2.3",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "features.js",
|
"main": "features.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user