Skip to content

Commit

Permalink
Load document from url
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrentka committed Aug 21, 2024
1 parent c561b72 commit e862996
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ window.createView = options => {
viewState: options.viewState,
container: document.getElementById('view'),
data: {
// TODO: Implement a more efficient way to transfer large files
buf: new Uint8Array(options.buf)
url: new URL(options.url)
},
onSaveAnnotations: annotations => {
postMessage('onSaveAnnotations', {annotations});
Expand Down

0 comments on commit e862996

Please sign in to comment.