lib/application.js
function parseStorageConfig() {
  var cfg, x, y, z,
      config = this.config.storages,
      storages = this.storages;
      
  if (!config) config = this.config.storages = {};

  if (Object.keys(config).length === 0) return;

  for (x in config) {
    cfg = config[x];
    for (y in cfg) {
      if (typeof cfg[y] == 'object') {
        if (typeof storages[x] == 'undefined') storages[x] = {};
        storages[x][y] = [x, cfg[y]];
      } else {
        storages[x] = [x, cfg];
        break;
      }
    }
  }
}
function parseStorageConfig() {
  var cfg, x, y, z,
      config = this.config.storages,
      storages = this.storages;
      
  if (!config) config = this.config.storages = {};

  if (Object.keys(config).length === 0) return;

  for (x in config) {
    cfg = config[x];
    for (y in cfg) {
      if (typeof cfg[y] == 'object') {
        if (typeof storages[x] == 'undefined') storages[x] = {};
        storages[x][y] = [x, cfg[y]];
      } else {
        storages[x] = [x, cfg];
        break;
      }
    }
  }
}
function parseStorageConfig ( ) { var cfg , x , y , z , config = this . config . storages , storages = this . storages ; if ( ! config ) config = this . config . storages = { } ; if ( Object . keys ( config ) . length === 0 ) return ; for ( x in config ) { cfg = config [ x ] ; for ( y in cfg ) { if ( typeof cfg [ y ] == 'object' ) { if ( typeof storages [ x ] == 'undefined' ) storages [ x ] = { } ; storages [ x ] [ y ] = [ x , cfg [ y ] ] ; } else { storages [ x ] = [ x , cfg ] ; break ; } } } }
Parses storages from config
Parses storages from config