lint fixup
This commit is contained in:
parent
92f6dd96c0
commit
144468ade2
|
@ -15,10 +15,6 @@ const databaseCache = {}
|
||||||
|
|
||||||
const DB_VERSION = 1
|
const DB_VERSION = 1
|
||||||
|
|
||||||
function objectStore(db, name, keyPath) {
|
|
||||||
return db.createObjectStore(name, {keyPath: keypPath})
|
|
||||||
}
|
|
||||||
|
|
||||||
export function getDatabase (instanceName) {
|
export function getDatabase (instanceName) {
|
||||||
if (!instanceName) {
|
if (!instanceName) {
|
||||||
throw new Error('instanceName is undefined in getDatabase()')
|
throw new Error('instanceName is undefined in getDatabase()')
|
||||||
|
|
|
@ -13,7 +13,6 @@ import {
|
||||||
REBLOG_ID,
|
REBLOG_ID,
|
||||||
STATUS_ID
|
STATUS_ID
|
||||||
} from './constants'
|
} from './constants'
|
||||||
import { scheduleCleanup } from './cleanup'
|
|
||||||
|
|
||||||
function createTimelineKeyRange (timeline, maxId) {
|
function createTimelineKeyRange (timeline, maxId) {
|
||||||
let negBigInt = maxId && toReversePaddedBigInt(maxId)
|
let negBigInt = maxId && toReversePaddedBigInt(maxId)
|
||||||
|
|
Loading…
Reference in a new issue