Skip to content

Commit

Permalink
Add window.Buffer=Buffer for igv.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 2, 2024
1 parent 8ac9191 commit ef97885
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { Buffer } from 'buffer'

window.Buffer = Buffer
export { default as CramFile, CramRecord } from './cramFile'
export { default as CraiIndex } from './craiIndex'
export { default as IndexedCramFile } from './indexedCramFile'

0 comments on commit ef97885

Please sign in to comment.