function _initStorage( options ) {
	const dbInfo = {};
	if ( options ) {
		for ( const i in options ) {
			dbInfo[ i ] = options[ i ];
		}
	}

	dbInfo.db = {};
	dummyStorage[ dbInfo.name ] = dbInfo.db;

	this._dbInfo = dbInfo;
	return Promise.resolve();
}
function _initStorage( options ) {
	const dbInfo = {};
	if ( options ) {
		for ( const i in options ) {
			dbInfo[ i ] = options[ i ];
		}
	}

	dbInfo.db = {};
	dummyStorage[ dbInfo.name ] = dbInfo.db;

	this._dbInfo = dbInfo;
	return Promise.resolve();
}
function _initStorage ( options ) { const dbInfo = { } ; if ( options ) { for ( const i in options ) { dbInfo [ i ] = options [ i ] ; } } dbInfo . db = { } ; dummyStorage [ dbInfo . name ] = dbInfo . db ; this . _dbInfo = dbInfo ; return Promise . resolve ( ) ; }
Config the localStorage backend, using options set in the config.
Config the localStorage backend using options set in the config .