mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Load file directly into fileLoader
This commit is contained in:
parent
16fdd159a9
commit
9c6a4628be
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ self.onmessage = ( event ) => {
|
|||
// console.log( 'options', options )
|
||||
|
||||
const scan = new AppScan({
|
||||
fileLoader: () => options.file,
|
||||
fileLoader: options.file,
|
||||
// Use self.postMessage as the message callback
|
||||
messageReceiver: ( details ) => {
|
||||
self.postMessage( details )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue