Skip to content

Instantly share code, notes, and snippets.

@akovalev
akovalev / 00 xdb.ts
Created January 16, 2020 13:41 — forked from rsms/00 xdb.ts
import { EventEmitter } from "./event"
const print = console.log.bind(console)
const _indexedDB = (window.indexedDB
|| window["mozIndexedDB"]
|| window["webkitIndexedDB"]
|| window["msIndexedDB"]) as IDBFactory