Skip to content

Commit

Permalink
fix: make it work in the Browser (#6)
Browse files Browse the repository at this point in the history
fix: make it work in the Browser
  • Loading branch information
hugomrdias committed Aug 1, 2019
2 parents 1fecf7c + 41c6689 commit 244a073
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Rabin = require('./rabin')
const getRabin = require('../dist/rabin-wasm.node.js')

const create = async (bits, min, max, windowSize) => {
compiled = await getRabin()
const compiled = await getRabin()

return new Rabin(bits, min, max, windowSize, compiled)
}
Expand Down

0 comments on commit 244a073

Please sign in to comment.