* Moved themes from mods/art/themes > mods/themes/

This commit is contained in:
Bryan Ashby 2015-05-14 16:49:19 -06:00
parent 4e2c21059a
commit 1a1dd53ca1
6 changed files with 4 additions and 3 deletions

View file

@ -285,9 +285,9 @@ function getArt(name, options, cb) {
if('' !== ext) {
options.types = [ ext.toLowerCase() ];
} else {
if(typeof options.types === 'undefined') {
if(_.isUndefined(options.types)) {
options.types = Object.keys(SUPPORTED_ART_TYPES);
} else if(typeof options.types === 'string') {
} else if(_.isString(options.types)) {
options.types = [ options.types.toLowerCase() ];
}
}