diff --git a/helpers/scanner/client.js b/helpers/scanner/client.js index 815ebe4..795a10b 100644 --- a/helpers/scanner/client.js +++ b/helpers/scanner/client.js @@ -329,44 +329,3 @@ export class AppScan { }) } } - -// export class AppScannerClient { - -// constructor ({ messageReceiver }) { - -// const testResultStore = global.$config.testResultStore - -// if ( !isValidHttpUrl( testResultStore ) ) { -// throw new Error( 'testResultStore is not a valid url' ) -// } - -// this.messageReceiver = messageReceiver -// } - -// scanQueue = [] - -// get unscanned () { -// return this.scanQueue.filter( scan => scan.status === 'idle' ) -// } - -// get nextScan () { - - -// sendMessage ( details ) { -// if( typeof( this.messageReceiver ) === 'function' ) { -// messageReceiver( details ) -// } -// } - -// qeueScan ( File ) { -// // Create a new scan instance -// const scan = new AppScan({ File, messageReceiver: this.sendMessage }) - -// // Add the scan to the queue -// this.scanQueue.push( scan ) -// } - -// start () { - -// } -// }