Мелкая поправка

This commit is contained in:
Book Pauk
2019-02-28 15:00:06 +07:00
parent 863ea9089a
commit 0d61f5523a

View File

@@ -5,10 +5,6 @@ import BookParser from './BookParser';
const maxDataSize = 500*1024*1024;//chars, not bytes
const bmCacheStore = localForage.createInstance({
name: 'bmCacheStore'
});
const bmMetaStore = localForage.createInstance({
name: 'bmMetaStore'
});
@@ -21,6 +17,11 @@ const bmRecentStore = localForage.createInstance({
name: 'bmRecentStore'
});
//bmCacheStore нужен только для ускорения загрузки читалки
const bmCacheStore = localForage.createInstance({
name: 'bmCacheStore'
});
class BookManager {
async init(settings) {
this.settings = settings;