mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -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 )
|
// console.log( 'options', options )
|
||||||
|
|
||||||
const scan = new AppScan({
|
const scan = new AppScan({
|
||||||
fileLoader: () => options.file,
|
fileLoader: options.file,
|
||||||
// Use self.postMessage as the message callback
|
// Use self.postMessage as the message callback
|
||||||
messageReceiver: ( details ) => {
|
messageReceiver: ( details ) => {
|
||||||
self.postMessage( details )
|
self.postMessage( details )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue