File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ var SUPPORT_BASE64_EMBEDDING;
129129var filename ;
130130filename ||= '<<< filename >>>' ;
131131
132- #if SINGLE_FILE_BINARY_ENCODE
132+ #if SINGLE_FILE && SINGLE_FILE_BINARY_ENCODE
133133/** @noinline */
134134function binaryDecode ( bin ) { for ( var i = 0 , l = bin . length , o = new Uint8Array ( l ) ; i < l ; ++ i ) o [ i ] = bin . charCodeAt ( i ) - 1 ; return o ; }
135135var workerURL = URL . createObjectURL ( new Blob ( [ binaryDecode ( filename ) ] , { type : 'application/javascript' } ) ) ;
@@ -173,7 +173,7 @@ worker.onmessage = (event) => {
173173 if ( ! workerResponded ) {
174174 workerResponded = true ;
175175 Module . setStatus ?. ( '' ) ;
176- #if SINGLE_FILE_BINARY_ENCODE
176+ #if SINGLE_FILE && SINGLE_FILE_BINARY_ENCODE
177177 URL . revokeObjectURL ( workerURL ) ;
178178#else
179179 if ( SUPPORT_BASE64_EMBEDDING && workerURL !== filename ) URL . revokeObjectURL ( workerURL ) ;
You can’t perform that action at this time.
0 commit comments