diff --git a/dexie-batch.js b/dexie-batch.js index 6e47d50..de67b19 100644 --- a/dexie-batch.js +++ b/dexie-batch.js @@ -1,6 +1,4 @@ -const Promise = require('dexie').Promise - -module.exports = class DexieBatch { +window.DexieBatch = class DexieBatch { constructor(opts) { assertValidOptions(opts) this.opts = opts