lib/application.js
function getStorageInstance(storage, config) {
  if (!(storage in protos.storages)) throw new Error(util.format("The '%s' storage is not loaded. Load it with app.loadStorages('%s')", storage, storage));
  return new protos.storages[storage](config || {});
}
function getStorageInstance(storage, config) {
  if (!(storage in protos.storages)) throw new Error(util.format("The '%s' storage is not loaded. Load it with app.loadStorages('%s')", storage, storage));
  return new protos.storages[storage](config || {});
}
function getStorageInstance ( storage , config ) { if ( ! ( storage in protos . storages ) ) throw new Error ( util . format ( "The '%s' storage is not loaded. Load it with app.loadStorages('%s')" , storage , storage ) ) ; return new protos . storages [ storage ] ( config || { } ) ; }
Returns a new storage instance
Returns a new storage instance