* 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() ];
}
}

View File

@ -106,7 +106,7 @@ function getDefaultConfig() {
mods : paths.join(__dirname, './../mods/'),
servers : paths.join(__dirname, './servers/'),
art : paths.join(__dirname, './../mods/art/'),
themes : paths.join(__dirname, './../mods/art/themes/'),
themes : paths.join(__dirname, './../mods/themes/'),
logs : paths.join(__dirname, './../logs/'), // :TODO: set up based on system, e.g. /var/logs/enigmabbs or such
db : paths.join(__dirname, './../db/'),
},

View File

@ -55,6 +55,7 @@ function MenuModule(options) {
if(_.isString(assetSpec.asset)) {
// :TODO: think about this more in relation to themes, etc. How can this come
// from a theme (with override from menu.json) ???
// look @ client.currentTheme.inlineArt[name] -> menu/prompt[name]
}
break;