diff --git a/.npmignore b/.npmignore index e672bc2..73aa153 100755 --- a/.npmignore +++ b/.npmignore @@ -1,3 +1,4 @@ +.npm* *.vim *.sw[po] .git diff --git a/features.js b/features.js index e4295f5..1690319 100755 --- a/features.js +++ b/features.js @@ -337,7 +337,8 @@ var FeatureSetProto = { features .filter(function(f){ return !!that[f].exclusive }) .forEach(function(k){ - (that[k].exclusive || []) + var e = that[k].exclusive + ;((e instanceof Array ? e : [e]) || []) .forEach(function(e){ // skip tags not explicitly requested... if(tag != '*' && tag.indexOf(e) < 0){ diff --git a/package.json b/package.json index 4e1e4b2..ee384b5 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-features", - "version": "3.2.7", + "version": "3.2.3", "description": "", "main": "features.js", "scripts": {