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 23, 2024
1 parent 3498017 commit d128f7c
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 d128f7c

Please sign in to comment.